OFFSET
1,2
LINKS
Harry J. Smith, Table of n, a(n) for n = 1..1000
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
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Dec 24 2001
EXTENSIONS
More terms from Robert G. Wilson v, Dec 26 2001
STATUS
approved