|
|
A072240
|
|
Smallest factorial containing exactly n 6's.
|
|
1
|
|
|
6, 1307674368000, 25852016738884976640000, 403291461126605635584000000, 263130836933693530167218012160000000, 33452526613163807108170062053440751665152000000000, 10333147966386144929666651337523200000000
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
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
|
|
|
KEYWORD
|
base,nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|