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!)
A138617 a(n) = 7^n mod 3^n. 0
0, 1, 4, 19, 52, 40, 280, 1231, 4243, 3457, 43882, 11929, 437797, 407374, 2851618, 10395388, 1023181, 7162267, 50135869, 738371572, 1681816603, 1312363018, 9186541126, 1543668664, 104948859475, 452212479844, 2318198749465, 6059927932939, 4291508105638, 30040556739466 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
PROG
(Sage) [power_mod(7, n, 3^n)for n in range(0, 30)] # Zerinvary Lajos, Nov 28 2009
(PARI) a(n) = if (n, lift(Mod(7, 3^n)^n), 0); \\ Michel Marcus, Feb 20 2018
CROSSREFS
Sequence in context: A174458 A263759 A162254 * A304993 A171354 A159833
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, May 20 2008
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 6 19:21 EDT 2024. Contains 373134 sequences. (Running on oeis4.)