login
A214045
Least m>0 such that n! <= 5^m.
2
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,3
LINKS
EXAMPLE
a(6) = 5 because 5^4 < 6! <= 5^5.
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 *)
CROSSREFS
Cf. A213858.
Sequence in context: A117752 A299775 A227191 * A136432 A172992 A006065
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Jul 18 2012
STATUS
approved