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”).

A127035
Maximal value of m such that 13^m <= n! : a(n) = floor( log(n!) / log(13) ).
10
0, 0, 0, 1, 1, 2, 3, 4, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14, 15, 16, 17, 18, 20, 21, 22, 23, 25, 26, 27, 29, 30, 31, 33, 34, 35, 37, 38, 40, 41, 43, 44, 45, 47, 48, 50, 51, 53, 54, 56, 57, 59, 60, 62, 64, 65, 67, 68, 70, 71, 73
OFFSET
1,6
PROG
(PARI) a(n)=lngamma(n+1)\log(13) \\ Charles R Greathouse IV, Sep 04 2015
(PARI) a(n)=logint(n!, 13) \\ Charles R Greathouse IV, Sep 04 2015
KEYWORD
nonn
AUTHOR
Artur Jasinski, Jan 03 2007
STATUS
approved