login
A364185
Leading digit of 11^n.
17
1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 4, 4, 5, 5, 6, 6, 7, 8, 8, 9, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 6, 6, 7, 8, 8, 9, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 6, 7, 7, 8, 9, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 4, 4, 5, 5, 6, 7, 7, 8, 9, 1, 1, 1, 1
OFFSET
0,9
LINKS
FORMULA
a(n) = A000030(A001020(n)).
MATHEMATICA
a[n_] := IntegerDigits[11^n][[1]]; Array[a, 100, 0] (* Amiram Eldar, Jul 15 2023 *)
PROG
(PARI) a(n) = digits(11^n)[1];
KEYWORD
nonn,base,easy
AUTHOR
Seiichi Manyama, Jul 15 2023
STATUS
approved