OFFSET
0,2
PROG
(Sage) [power_mod(8, n, 3^n)for n in range(0, 29)] # Zerinvary Lajos, Nov 28 2009
(PARI) a(n) = if (n, lift(Mod(8, 3^n)^n), 0); \\ Michel Marcus, Feb 20 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, May 20 2008
STATUS
approved