|
|
A072232
|
|
Smallest factorial containing exactly n 9's.
|
|
1
|
|
|
479001600, 39916800, 51090942171709440000, 8841761993739701954543616000000, 295232799039604140847618609643520000000, 5502622159812088949850305428800254892961651752960000000000, 371993326789901217467999448150835200000000
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
EXAMPLE
|
a(2)=39916800 so 39916800 is the smallest factorial containing exactly two 9's.
|
|
MATHEMATICA
|
With[{fs=Range[100]!}, Flatten[Table[Select[fs, DigitCount[#, 10, 9]==n&, 1], {n, 10}]]] (* Harvey P. Dale, Mar 12 2013 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|