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!)
A094924 a(n) = (9^n-1)/8 mod n. 2
0, 0, 1, 0, 1, 4, 1, 0, 1, 0, 1, 4, 1, 10, 1, 0, 1, 10, 1, 0, 7, 10, 1, 16, 6, 10, 10, 8, 1, 10, 1, 0, 25, 10, 31, 28, 1, 10, 13, 0, 1, 28, 1, 28, 1, 10, 1, 16, 22, 0, 40, 40, 1, 10, 11, 24, 34, 10, 1, 40, 1, 10, 28, 0, 36, 34, 1, 4, 22, 50, 1, 64, 1, 10, 31, 60, 10, 52, 1, 0, 10, 10, 1, 28, 71 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,6
LINKS
MATHEMATICA
Table[Mod[(9^n-1)/8, n], {n, 90}] (* Harvey P. Dale, Dec 23 2023 *)
PROG
(PARI) A094924(n) = lift(Mod((9^n-1)/8, n)); \\ Antti Karttunen, May 19 2020
CROSSREFS
Sequence in context: A117411 A161739 A291574 * A056968 A340221 A213541
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 July 14 02:38 EDT 2024. Contains 374291 sequences. (Running on oeis4.)