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”).

A217184
a(n) is the number of digits in the decimal representation of the smallest power of n that contains nine consecutive identical digits.
1
12790, 10875, 12790, 1955, 21569, 28595, 12790, 21066, 10, 9834, 12334, 18560, 18967, 13242, 12791, 18446, 7264, 35928, 12, 3822, 22467, 19223, 6279, 1955, 39245, 10875, 5231, 15110, 14, 6051, 12790, 13758, 36733, 4545, 21569, 17913, 20964, 9186, 15, 23833
OFFSET
2,1
COMMENTS
Number of digits in n^k is equal to floor(1 + k*log_10(n)).
MATHEMATICA
Table[k = 1; While[d = IntegerDigits[n^k]; ! MemberQ[Partition[Differences[d], 8, 1], {0, 0, 0, 0, 0, 0, 0, 0}], k++]; Length[d], {n, 2, 10}] (* T. D. Noe, Oct 03 2012 *)
CROSSREFS
Sequence in context: A187600 A187597 A203273 * A184784 A184780 A206796
KEYWORD
nonn,base
AUTHOR
V. Raman, Sep 27 2012
STATUS
approved