OFFSET
0,3
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
MAPLE
seq(9^n mod 8^n, n=1..100); # Robert Israel, Aug 03 2014
MATHEMATICA
Table[PowerMod[9, n, 8^n], {n, 0, 40}] (* Vincenzo Librandi, Aug 03 2014 *)
PROG
(Magma) [9^n mod 8^n: n in [0..25]]; // Vincenzo Librandi, Jun 04 2011
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, May 20 2008
STATUS
approved