A214045 Least m>0 such that n! <= 5^m.
1, 1, 2, 2, 3, 5, 6, 7, 8, 10, 11, 13, 15, 16, 18, 20, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 49, 51, 53, 56, 58, 60, 62, 64, 67, 69, 71, 74, 76, 78, 81, 83, 86, 88, 90, 93, 95, 98, 100, 103, 105, 108, 110, 113, 115
Offset: 1
Examples
a(6) = 5 because 5^4 < 6! <= 5^5.
Links
- Clark Kimberling, Table of n, a(n) for n = 1..1000
Crossrefs
Cf. A213858.
Programs
-
Mathematica
Table[m=1; While[n!>5^m, m++]; m, {n,1,100}] Join[{1},Table[Ceiling[Log[5,n!]],{n,2,90}]] (* Harvey P. Dale, May 14 2019 *)