|
|
A072163
|
|
a(n)-th factorial is the smallest factorial containing exactly n 2's, or 0 if no such number exists.
|
|
8
|
|
|
2, 14, 13, 30, 40, 47, 31, 46, 54, 49, 65, 76, 62, 69, 107, 78, 86, 115, 95, 121, 109, 165, 110, 113, 149, 151, 146, 137, 162, 159, 170, 191, 195, 174, 190, 196, 164, 209, 202, 173, 198, 248, 201, 262, 231, 205, 263, 233, 246, 256, 270, 244, 287, 200, 271, 250
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
EXAMPLE
|
a(2)=14 since 14th factorial, i.e., 14!=87178291200, contains exactly two 2's.
|
|
MATHEMATICA
|
Do[k = 1; While[ Count[IntegerDigits[k! ], 2] != n, k++ ]; Print[k], {n, 1, 60}]
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|