login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A072124 a(n)-th factorial is the smallest factorial containing exactly n 1's, or 0 if no such number exists. 8
1, 14, 19, 25, 32, 40, 33, 60, 63, 47, 68, 64, 74, 87, 79, 73, 97, 110, 107, 132, 134, 129, 116, 136, 123, 113, 145, 143, 160, 180, 153, 171, 185, 176, 224, 209, 196, 207, 229, 221, 211, 167, 236, 252, 260, 201, 235, 274, 249, 231, 246, 284, 199, 273, 294, 267 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

EXAMPLE

a(2)=14 since 14-th factorial i.e. 14!=87178291200 contains exactly two 1's.

MATHEMATICA

Do[k = 1; While[ Count[IntegerDigits[k! ], 1] != n, k++ ]; Print[k], {n, 1, 60}]

CROSSREFS

Cf. A072295, A072220, A072208, A072204, A072200, A072199, A072178, A072177 & A072163.

Sequence in context: A013649 A013657 A013653 * A026287 A028396 A120158

Adjacent sequences:  A072121 A072122 A072123 * A072125 A072126 A072127

KEYWORD

base,nonn

AUTHOR

Shyam Sunder Gupta (guptass(AT)rediffmail.com), Jul 30 2002

EXTENSIONS

Edited and extended by Robert G. Wilson v (rgwv(AT)rgwv.com), Jul 31 2002

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 21:51 EST 2012. Contains 205978 sequences.