The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A176101 a(n) = 4^(composite(n) - 4) mod composite(n+4). 1
1, 4, 4, 4, 0, 16, 16, 16, 16, 16, 21, 10, 1, 16, 4, 0, 31, 18, 16, 4, 16, 1, 24, 16, 36, 34, 18, 16, 46, 4, 16, 16, 28, 26, 16, 7, 54, 4, 16, 16, 0, 16, 64, 64, 58, 4, 16, 70, 49, 64, 9, 22, 64, 55, 64, 16, 1, 44, 25, 56, 64, 74, 48, 70, 74, 49, 64, 44, 1, 4, 52, 48, 79, 36, 88, 56, 58, 64, 112, 31 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = 4^(A002808(n) - 4) mod A002808(n+4).
EXAMPLE
a(2)=6 because 4^(composite(2) - 4) mod composite(2+4) = 16 mod 12 = 4.
MAPLE
A176101 := proc(n) modp(4^(A002808(n)-4) , A002808(n+4)) ; end proc:
seq(A176101(n), n=1..80) ; # R. J. Mathar, Dec 08 2010
MATHEMATICA
With[{cmps=Partition[Select[Range[200], CompositeQ], 5, 1]}, PowerMod[4, #[[1]]-4, #[[5]]]&/@cmps] (* Harvey P. Dale, Dec 06 2020 *)
CROSSREFS
Sequence in context: A073816 A368820 A084452 * A052283 A133889 A243756
KEYWORD
nonn,less
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 23 01:37 EDT 2024. Contains 372758 sequences. (Running on oeis4.)