OFFSET
1,1
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
Shyam Sunder Gupta, Jul 30 2002
EXTENSIONS
Edited and extended by Robert G. Wilson v, Jul 31 2002
STATUS
approved