login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A363249
Leading digit of 9^n.
4
1, 9, 8, 7, 6, 5, 5, 4, 4, 3, 3, 3, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 9, 8, 7, 7, 6, 5, 5, 4, 4, 3, 3, 3, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 9, 8, 7, 7, 6, 5, 5, 4, 4, 3, 3, 3, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 9, 8, 7, 6, 6, 5, 5, 4, 4, 3, 3, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 9, 8, 7, 6, 6, 5, 4, 4, 4, 3, 3, 2, 2
OFFSET
0,2
REFERENCES
He, Xinwei; Hildebrand, A J; Li, Yuchen; Zhang, Yunyi, Complexity of Leading Digit Sequences, Discrete Mathematics and Theoretical Computer Science; 22 (2020), #14.
LINKS
FORMULA
a(n) = A000030(A001019(n)).
a(n) = A060956(2*n).
MATHEMATICA
a[n_] := IntegerDigits[9^n][[1]]; Array[a, 100, 0] (* Amiram Eldar, Jul 15 2023 *)
PROG
(PARI) a(n) = digits(9^n)[1];
KEYWORD
nonn,base,easy,changed
AUTHOR
Seiichi Manyama, Jul 15 2023
STATUS
approved