login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A066609
a(n) = 5^n mod n^5.
1
0, 25, 125, 625, 0, 73, 10897, 30177, 4508, 65625, 29672, 36433, 263034, 288873, 575000, 159681, 592030, 1485433, 1639363, 1240625, 250928, 928073, 4040001, 93601, 0, 10915033, 14288075, 16048657, 3176520, 4515625
OFFSET
1,2
LINKS
EXAMPLE
a(6) = 73 as 5^6 = 15625 = (6^5)*2 + 73.
MATHEMATICA
Table[PowerMod[5, n, n^5], {n, 30}] (* Harvey P. Dale, Jul 05 2023 *)
PROG
(PARI) a(n) = { lift(Mod(5, n^5)^n) } \\ Harry J. Smith, Mar 11 2010
CROSSREFS
Cf. A066606.
Sequence in context: A211581 A226231 A211595 * A074006 A073963 A316277
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Dec 24 2001
EXTENSIONS
More terms from Robert G. Wilson v, Dec 26 2001
STATUS
approved