OFFSET
1,2
LINKS
Andrew Howroyd, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = floor(11^n / 10^floor(1 + log(11^n)/log(10) - n)) mod 10. - Andrew Howroyd, Feb 11 2018
MATHEMATICA
Table[IntegerDigits[11^n][[n]], {n, 99}]
PROG
(PARI) a(n) = digits(11^n)[n]; \\ Andrew Howroyd, Feb 11 2018
(PARI) a(n) = my(v=11^n); v \ 10^(1+logint(v, 10)-n) % 10; \\ Andrew Howroyd, Feb 11 2018
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Zak Seidov, May 06 2006
STATUS
approved