The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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

%I #17 Oct 02 2022 00:23:54

%S 7,153,197,7399,24434,24434,9242360,238861211,238861211

%N a(n) is the smallest k such that k! has at least n consecutive zeros immediately after the leading digit in base 10.

%e a(1) = 7, because 7! = 5040 has one zero immediately after the leading digit, and there is no k<7 with that property.

%o (Python)

%o from itertools import count

%o t = 1

%o n = 1

%o for k in count(1):

%o t *= k

%o while str(t)[1:1+n] == '0'*n:

%o print(n,k)

%o n += 1

%Y Cf. A000142, A027869.

%K nonn,base,more

%O 1,1

%A _Christian Perfect_, Aug 25 2022

%E a(5)-a(6) from _Amiram Eldar_, Aug 25 2022

%E a(7)-a(9) from _Jinyuan Wang_, Aug 25 2022

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 May 17 16:19 EDT 2024. Contains 372603 sequences. (Running on oeis4.)