login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A127039
Maximal value of m such that 29^m <= n! : a(n) = floor( log(n!) / log(29) ).
10
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,7
MATHEMATICA
Table[Floor[Log[29, n!]], {n, 60}] (* Harvey P. Dale, May 09 2016 *)
PROG
(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
KEYWORD
nonn
AUTHOR
Artur Jasinski, Jan 03 2007
STATUS
approved