login
A127037
Maximal value of m such that 19^m <= n! : a(n) = floor( log(n!) / log(19) ).
10
0, 0, 0, 1, 1, 2, 2, 3, 4, 5, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 23, 24, 25, 26, 27, 28, 30, 31, 32, 33, 34, 36, 37, 38, 39, 41, 42, 43, 45, 46, 47, 49, 50, 51, 53, 54, 55, 57, 58, 59, 61, 62, 64
OFFSET
1,6
PROG
(PARI) a(n)=lngamma(n+1)\log(19) \\ Charles R Greathouse IV, Sep 04 2015
(PARI) a(n)=logint(n!, 19) \\ Charles R Greathouse IV, Sep 04 2015
KEYWORD
nonn
AUTHOR
Artur Jasinski, Jan 03 2007
STATUS
approved