|
|
A215728
|
|
a(n) is the smallest m for which 5^m contains n consecutive identical digits.
|
|
14
|
|
|
0, 11, 50, 95, 125, 1087, 2786, 2790, 2796, 2797, 2802, 2803, 1040703, 5547565, 7761841, 17876345
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
|
|
LINKS
|
|
|
PROG
|
(Python)
l, x = [str(d)*n for d in range(10)], 1
for m in range(10**9):
s = str(x)
for k in l:
if k in s:
return m
x *= 5
return 'search limit reached'
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,more
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|