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!)
A356739 a(n) is the smallest k such that k! has at least n consecutive zeros immediately after the leading digit in base 10. 0
7, 153, 197, 7399, 24434, 24434, 9242360, 238861211, 238861211 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
a(1) = 7, because 7! = 5040 has one zero immediately after the leading digit, and there is no k<7 with that property.
PROG
(Python)
from itertools import count
t = 1
n = 1
for k in count(1):
t *= k
while str(t)[1:1+n] == '0'*n:
print(n, k)
n += 1
CROSSREFS
Sequence in context: A351147 A351609 A305686 * A006761 A317066 A213798
KEYWORD
nonn,base,more
AUTHOR
Christian Perfect, Aug 25 2022
EXTENSIONS
a(5)-a(6) from Amiram Eldar, Aug 25 2022
a(7)-a(9) from Jinyuan Wang, Aug 25 2022
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 04:02 EDT 2024. Contains 371918 sequences. (Running on oeis4.)