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!)
A297967 a(n) = 5^n mod prime(n). 1
1, 1, 0, 2, 1, 12, 10, 4, 11, 20, 25, 10, 39, 36, 41, 13, 36, 58, 52, 1, 17, 26, 19, 64, 13, 5, 94, 14, 25, 36, 40, 74, 117, 81, 6, 123, 24, 155, 134, 117, 20, 42, 69, 36, 185, 111, 121, 16, 206, 159, 42, 220, 47, 123, 130, 61, 57, 83, 6, 79, 270, 14, 91 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
LINKS
FORMULA
a(n) = A000351(n) mod A000040(n).
MATHEMATICA
Array[PowerMod[5, #, Prime@#]&, 80]
PROG
(Magma) [Modexp(5, n, NthPrime(n)): n in [1..80]];
CROSSREFS
Sequence in context: A090586 A268512 A217109 * A199930 A278330 A048854
KEYWORD
nonn
AUTHOR
Vincenzo Librandi, Jan 15 2018
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 June 13 07:36 EDT 2024. Contains 373366 sequences. (Running on oeis4.)