OFFSET
1,5
LINKS
Harry J. Smith, Table of n, a(n) for n = 1..1000
MAPLE
seq(irem(9^n, n), n=1..80); # Zerinvary Lajos, Apr 20 2008
MATHEMATICA
Table[PowerMod[9, n, n], {n, 80} ]
PROG
(PARI) { for (n=1, 1000, write("b066440.txt", n, " ", 9^n % n) ) } \\ Harry J. Smith, Feb 14 2010
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Dec 27 2001
STATUS
approved