login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A072244
Smallest factorial containing exactly n 4's.
1
24, 121645100408832000, 51090942171709440000, 620448401733239439360000, 2658271574788448768043625811014615890319638528000000000, 1405006117752879898543142606244511569936384000000000, 30414093201713378043612608166064768844377641568960512000000000000, 40526919504877216755680601905432322134980384796226602145184481280000000000000
OFFSET
1,1
EXAMPLE
a(2)=121645100408832000 so 121645100408832000 is the smallest factorial containing exactly two 4's.
MATHEMATICA
Table[SelectFirst[Table[With[{c=n!}, {c, DigitCount[c, 10, 4]}], {n, 100}], #[[2]] == k&], {k, 8}][[All, 1]] (* Harvey P. Dale, Nov 18 2021 *)
CROSSREFS
Sequence in context: A013910 A007458 A273725 * A067669 A068741 A255403
KEYWORD
base,nonn
AUTHOR
Shyam Sunder Gupta, Jul 30 2002
EXTENSIONS
More terms from Harvey P. Dale, Nov 18 2021
STATUS
approved