OFFSET
1,3
LINKS
Harry J. Smith and Seiichi Manyama, Table of n, a(n) for n = 1..10000 (first 1000 terms from Harry J. Smith)
EXAMPLE
a(7) = 5 as 5^7 = 78125 = 7*11160 + 5.
MAPLE
seq(irem(5^n, n), n=1..85); # Zerinvary Lajos, Apr 20 2008
MATHEMATICA
Table[PowerMod[5, n, n], {n, 85} ]
PROG
(PARI) a(n) = { lift(Mod(5, n)^n) } \\ Harry J. Smith, Mar 09 2010
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Amarnath Murthy, Dec 22 2001
EXTENSIONS
More terms from Robert G. Wilson v, Dec 27 2001
STATUS
approved