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

A072240
Smallest factorial containing exactly n 6's.
1
6, 1307674368000, 25852016738884976640000, 403291461126605635584000000, 263130836933693530167218012160000000, 33452526613163807108170062053440751665152000000000, 10333147966386144929666651337523200000000
OFFSET
1,1
EXAMPLE
a(2)=1307674368000 so 1307674368000 is the smallest factorial containing exactly two 6's.
MATHEMATICA
With[{f=Range[300]!}, Table[SelectFirst[f, DigitCount[#, 10, 6]==n&], {n, 10}]] (* The program uses the SelectFirst function from Mathematica version 10 *) (* Harvey P. Dale, May 23 2015 *)
CROSSREFS
Sequence in context: A045518 A058457 A182794 * A182795 A182796 A079683
KEYWORD
base,nonn
AUTHOR
Shyam Sunder Gupta, Jul 30 2002
EXTENSIONS
One additional term (a(7)) from Harvey P. Dale, May 23 2015
STATUS
approved