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”).

A072238
Smallest factorial containing exactly n 7's.
1
720, 87178291200, 6402373705728000, 8222838654177922817725562880000000, 608281864034267560872252163321295376887552831379210240000000000, 1124000727777607680000, 230843697339241380472092742683027581083278564571807941132288000000000000
OFFSET
1,1
EXAMPLE
a(2)=87178291200 so 87178291200 is the smallest factorial containing exactly two 7's.
MATHEMATICA
With[{f=Range[200]!}, Table[SelectFirst[f, DigitCount[#, 10, 7]==n&], {n, 6}]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Aug 07 2019 *)
CROSSREFS
Sequence in context: A172621 A367570 A294323 * A271946 A172727 A283048
KEYWORD
base,nonn
AUTHOR
Shyam Sunder Gupta, Jul 30 2002
EXTENSIONS
a(7) from Harvey P. Dale, Aug 07 2019
STATUS
approved