login
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
OFFSET
0,2
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