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!)
A138677 Prime(n)^8 mod prime(n-1). 10
1, 1, 1, 2, 3, 3, 1, 5, 18, 24, 5, 9, 10, 4, 24, 46, 20, 42, 10, 43, 32, 45, 28, 4, 61, 54, 28, 42, 27, 16, 4, 65, 119, 64, 107, 43, 30, 10, 97, 132, 77, 34, 65, 109, 59, 8, 199, 197, 29, 42, 152, 17, 183, 175, 121, 98, 256, 229, 164, 256, 252, 210, 145, 256 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,4
COMMENTS
Related sequences type prime(n)^k mod prime(n-1) (k=1,2,3,4)
prime(n) mod prime(n-1) is given in A001223
prime(n)^2 mod prime(n-1) is given in A038702
prime(n)^3 mod prime(n-1) is given in A138672
prime(n)^4 mod prime(n-1) is given in A138673
prime(n)^5 mod prime(n-1) is given in A138674
prime(n)^6 mod prime(n-1) is given in A138675
prime(n)^7 mod prime(n-1) is given in A138676
prime(n)^8 mod prime(n-1) is given in A138677
prime(n)^9 mod prime(n-1) is given in A138678
prime(n)^10 mod prime(n-1) is given in A138679
prime(n)^11 mod prime(n-1) is given in A138680
prime(n)^12 mod prime(n-1) is given in A138681
LINKS
EXAMPLE
a(1)=1 because 3^8 = 1 mod 2
a(2)=2 because 5^8 = 1 mod 3
MATHEMATICA
Table[Mod[Prime[n]^8, Prime[n - 1]], {n, 2, 50}]
PowerMod[#[[2]], 8, #[[1]]]&/@Partition[Prime[Range[70]], 2, 1] (* Harvey P. Dale, Nov 05 2014 *)
CROSSREFS
Sequence in context: A079950 A174953 A298599 * A193885 A364957 A076239
KEYWORD
nonn
AUTHOR
Artur Jasinski, Mar 26 2008
EXTENSIONS
More terms from Harvey P. Dale, Nov 05 2014
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 18 09:54 EDT 2024. Contains 372620 sequences. (Running on oeis4.)