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!)
A094919 a(n) = (4^n-1)/3 mod n. 2
0, 1, 0, 1, 1, 3, 1, 5, 0, 5, 1, 9, 1, 5, 6, 5, 1, 9, 1, 5, 0, 5, 1, 21, 16, 5, 0, 1, 1, 15, 1, 21, 21, 5, 26, 9, 1, 5, 21, 5, 1, 21, 1, 41, 36, 5, 1, 21, 22, 25, 21, 33, 1, 27, 11, 5, 21, 5, 1, 45, 1, 5, 0, 21, 16, 45, 1, 17, 21, 15, 1, 45, 1, 5, 66, 9, 5, 39, 1, 5, 0, 5, 1, 21, 1, 5, 21, 21, 1, 45 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,6
LINKS
MATHEMATICA
Table[Mod[(4^n-1)/3, n], {n, 100}] (* Harvey P. Dale, Apr 11 2013 *)
PROG
(PARI) A094919(n) = ((((4^n)-1)/3)%n); \\ Antti Karttunen, Feb 18 2023
CROSSREFS
Cf. also A094922.
Sequence in context: A237588 A235796 A120444 * A328373 A316631 A197152
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 April 18 18:58 EDT 2024. Contains 371781 sequences. (Running on oeis4.)