login
A066430
a(n) = 8^n mod n^8.
1
0, 64, 512, 4096, 32768, 262144, 2097152, 0, 5077565, 73741824, 15579352, 352387072, 769038655, 195124224, 1009588832, 0, 4384458125, 2836131328, 9009163584, 7006846976, 33653509289, 41376995328, 17808619293, 26138902528
OFFSET
1,2
LINKS
MATHEMATICA
Table[ Mod[ 8^n, n^8], {n, 1, 30} ]
PROG
(Sage) [power_mod(8, n, n^8)for n in range(1, 24)] # Zerinvary Lajos, Nov 28 2009
(PARI) { for (n=1, 500, write("b066430.txt", n, " ", 8^n % n^8) ) } \\ Harry J. Smith, Feb 13 2010
CROSSREFS
Sequence in context: A297844 A233304 A016803 * A115740 A100415 A200841
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Dec 27 2001
STATUS
approved