login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A173558 a(n) is the smallest number whose factorial has 10^n trailing zeros. 3
5, 45, 405, 4005, 40010, 400005, 4000005, 40000010, 400000015, 4000000015, 40000000015, 400000000015, 4000000000010, 40000000000015, 400000000000020, 4000000000000025, 40000000000000025, 400000000000000025 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
A. M. Oller-Marcen, J. Maria Grau, On the Base-b Expansion of the Number of Trailing Zeros of b^k!, J. Int. Seq. 14 (2011) 11.6.8
EXAMPLE
4!=24 has no zeros, and 5!=120 has 1 (10^0) zero ==> a(0)= 5.
44!=2658271574788448768043625811014615890319638528000000000 (9 zeros) and 45!=119622220865480194561963161495657715064383733760000000000 (10^1= 10 zeros) ==> a(1)=45.
MATHEMATICA
Z10[n_] := Floor[Sum[Floor[n/5^i], {i, 1, Floor[Log[5, n]]}]]; a[n_] := Module[{m = 4*10^n}, While[Z10[m] < 10^n, m++ ]; m]; Table[a[n], {n, 0, 60}]
CROSSREFS
If A173292(n)> -1 then a(n)=A173292(n)
Sequence in context: A088505 A067403 A173292 * A022022 A058410 A005979
KEYWORD
base,nonn
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 15:52 EDT 2024. Contains 371961 sequences. (Running on oeis4.)