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!)
A138964 a(n) = 8^n mod 6^n. 0
0, 2, 28, 80, 208, 1664, 28864, 137600, 1660672, 3207680, 45816832, 245602304, 1239224320, 1206665216, 9653321728, 390683230208, 2185095872512, 554107535360, 38286179172352, 306289433378816, 1231595987009536, 9852767896076288, 78822143168610304, 367333737664348160 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
MATHEMATICA
Table[PowerMod[8, n, 6^n], {n, 0, 30}] (* Harvey P. Dale, Apr 20 2011 *)
PROG
(Sage) [power_mod(8, n, 6^n)for n in range(0, 24)] # Zerinvary Lajos, Nov 28 2009
(PARI) a(n) = if (n, lift(Mod(8, 6^n)^n), 0); \\ Michel Marcus, Feb 20 2018
CROSSREFS
Sequence in context: A296245 A156471 A329595 * A200040 A334696 A281201
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 8 09:36 EDT 2024. Contains 373217 sequences. (Running on oeis4.)