|
|
A217188
|
|
a(n) is the number of digits in the decimal representation of the smallest power of 6 that contains n consecutive identical digits.
|
|
0
|
|
|
1, 4, 4, 90, 176, 289, 1170, 6640, 21569, 21569, 54421
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
Number of digits in 6^k is equal to floor(1 + k*log_10(6)).
|
|
LINKS
|
|
|
MATHEMATICA
|
k = 0; Join[{1}, Table[While[d = IntegerDigits[6^k]; prt = Partition[Differences[d], n - 1, 1]; ! MemberQ[prt, Table[0, {n - 1}]], k++]; Length[d], {n, 2, 8}]] (* T. D. Noe, Oct 03 2012 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|