login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A127041 Maximal value of m such that 31^m <= n! : a(n) = floor( log(n!) / log(31) ). 0

%I #7 Sep 04 2015 10:27:30

%S 0,0,0,0,1,1,2,3,3,4,5,5,6,7,8,8,9,10,11,12,13,14,15,15,16,17,18,19,

%T 20,21,22,23,24,25,26,27,28,29,31,32,33,34,35,36,37,38,39,40,42,43,44,

%U 45,46,47,49,50,51,52,53,54

%N Maximal value of m such that 31^m <= n! : a(n) = floor( log(n!) / log(31) ).

%o (PARI) a(n) = floor( log(n!) / log(31) ); \\ _Michel Marcus_, Nov 02 2013

%o (PARI) a(n)=lngamma(n+1)\log(31) \\ _Charles R Greathouse IV_, Sep 04 2015

%o (PARI) a(n)=logint(n!,31) \\ _Charles R Greathouse IV_, Sep 04 2015

%Y Cf. A067850, A127031, A127032, A127033, A127034, A127035, A127036, A127037, A127039.

%K nonn

%O 1,7

%A _Artur Jasinski_, Jan 03 2007

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 13 07:05 EDT 2024. Contains 374267 sequences. (Running on oeis4.)