



0, 1, 0, 1, 4, 3, 2, 1, 0, 1, 9, 9, 9, 11, 9, 1, 9, 9, 9, 1, 15, 15, 9, 9, 24, 3, 0, 9, 9, 21, 9, 1, 3, 13, 4, 9, 9, 5, 27, 1, 9, 15, 9, 5, 9, 35, 9, 33, 30, 1, 15, 9, 9, 27, 34, 25, 45, 23, 9, 21, 9, 19, 36, 1, 29, 9, 9, 33, 39, 51, 9, 9, 9, 7, 24, 25, 4, 27, 9, 1
(list;
graph;
refs;
listen;
history;
text;
internal format)



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) ) } [From Harry J. Smith, Feb 14 2010]


CROSSREFS

Sequence in context: A022960 A023446 A258447 * A182425 A071692 A030586
Adjacent sequences: A066437 A066438 A066439 * A066441 A066442 A066443


KEYWORD

nonn


AUTHOR

Robert G. Wilson v, Dec 27 2001


STATUS

approved



