The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A125552 Maximal value of m such that 3^m <= n! : a(n) = floor( log(n!) / log(3) ). 2
0, 1, 2, 4, 5, 7, 9, 11, 13, 15, 18, 20, 22, 25, 27, 30, 33, 35, 38, 41, 44, 46, 49, 52, 55, 58, 61, 64, 67, 71, 74, 77, 80, 83, 87, 90, 93, 97, 100, 103, 107, 110, 114, 117, 121, 124, 128, 131, 135, 138, 142, 145, 149, 153, 156, 160, 164, 167, 171 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,3
LINKS
MATHEMATICA
Floor[Log[3, Range[2, 60]!]] (* Harvey P. Dale, Dec 10 2012 *)
PROG
(PARI) a(n)=lngamma(n+1)\log(3) \\ Charles R Greathouse IV, Sep 04 2015
(PARI) a(n)=logint(n!, 3) \\ Charles R Greathouse IV, Sep 04 2015
CROSSREFS
Sequence in context: A357574 A295556 A047893 * A185546 A066026 A112671
KEYWORD
nonn
AUTHOR
Artur Jasinski, Jan 03 2007
EXTENSIONS
More terms from R. J. Mathar, Dec 14 2008
STATUS
approved

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 May 14 12:38 EDT 2024. Contains 372533 sequences. (Running on oeis4.)