|
|
A254502
|
|
a(n) is the smallest nonnegative integer such that a(n)! contains a string of exactly n consecutive 7's.
|
|
10
|
|
|
0, 6, 31, 48, 22, 599, 1102, 5280, 4667, 1753, 48861, 150336, 223254, 644487, 7016773, 9588848
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
EXAMPLE
|
a(1) = 6 since 6! equals 720, which contains '7'.
|
|
MATHEMATICA
|
If[n == 0, While[MemberQ[IntegerDigits[m!], 7], m++]; m,
t = Table[7, n];
While[! MemberQ[Split[IntegerDigits[m!]], t], m++]; m]];
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,more
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|