A127039 Maximal value of m such that 29^m <= n! : a(n) = floor( log(n!) / log(29) ).
0, 0, 0, 0, 1, 1, 2, 3, 3, 4, 5, 5, 6, 7, 8, 9, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 36, 37, 38, 39, 40, 41, 42, 44, 45, 46, 47, 48, 49, 51, 52, 53, 54, 56
Offset: 1
Keywords
Programs
-
Mathematica
Table[Floor[Log[29,n!]],{n,60}] (* Harvey P. Dale, May 09 2016 *)
-
PARI
a(n)=lngamma(n+1)\log(29) \\ Charles R Greathouse IV, Sep 02 2015
-
PARI
a(n)=logint(n!,29) \\ Charles R Greathouse IV, Sep 04 2015