OFFSET
1,6
LINKS
Seiichi Manyama, Table of n, a(n) for n = 1..10000
EXAMPLE
a(7) = 3 since 10000000 = 7*1428571+3
MAPLE
seq(irem(10^n, n), n=1..78); # Zerinvary Lajos, Apr 20 2008
MATHEMATICA
Table[PowerMod[10, n, n], {n, 80} ]
PROG
(PARI) a(n) = lift(Mod(10, n)^n); \\ Michel Marcus, Oct 19 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Henry Bottomley, Jul 20 2000
STATUS
approved