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!)
A094920 a(n) = (5^n-1)/4 mod n. 3
0, 0, 1, 0, 1, 0, 1, 0, 4, 6, 1, 0, 1, 6, 1, 0, 1, 0, 1, 16, 10, 6, 1, 0, 6, 6, 13, 16, 1, 6, 1, 0, 31, 6, 11, 0, 1, 6, 31, 16, 1, 0, 1, 24, 31, 6, 1, 0, 29, 6, 31, 0, 1, 0, 11, 48, 31, 6, 1, 36, 1, 6, 31, 0, 1, 12, 1, 20, 31, 16, 1, 0, 1, 6, 31, 4, 39, 6, 1, 16, 40, 6, 1, 0, 16, 6, 31, 64, 1, 36, 57, 64 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,9
LINKS
MATHEMATICA
Table[Mod[(5^n-1)/4, n], {n, 100}] (* Harvey P. Dale, Sep 20 2016 *)
PROG
(PARI) A094920(n) = lift(Mod((5^n-1)/4, n)); \\ Antti Karttunen, May 19 2020
CROSSREFS
Cf. A003463.
Sequence in context: A013247 A013248 A013254 * A010668 A200601 A277755
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Jun 18 2004
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 10 07:40 EDT 2024. Contains 372358 sequences. (Running on oeis4.)