|
|
A254448
|
|
a(n) is the smallest nonnegative integer such that a(n)! contains a string of exactly n consecutive 3's.
|
|
11
|
|
|
0, 8, 24, 25, 134, 407, 151, 2936, 8040, 26808, 49668, 115189, 429335, 1365981, 3507499
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
EXAMPLE
|
a(1) = 8 since 8! = 40320, which contains '3' and 8 is the smallest integer for which the condition is met.
a(2) = 24 since 24! = 620448401733239439360000 contains '33'.
|
|
MATHEMATICA
|
If[n == 0, While[MemberQ[IntegerDigits[m!], 3], m++]; m,
t = Table[3, n];
While[! MemberQ[Split[IntegerDigits[m!]], t], m++]; m]];
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|