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!)
A064542 a(n) = Max { k | k! <= n! / k! } where m! = A000142(m), factorial. 1
1, 1, 2, 2, 3, 4, 4, 5, 5, 6, 7, 7, 8, 8, 9, 10, 10, 11, 11, 12, 13, 13, 14, 14, 15, 15, 16, 17, 17, 18, 18, 19, 20, 20, 21, 21, 22, 22, 23, 24, 24, 25, 25, 26, 27, 27, 28, 28, 29, 29, 30, 31, 31, 32, 32, 33, 33, 34, 35, 35, 36, 36, 37, 37, 38, 39, 39, 40, 40, 41, 41, 42, 43, 43 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
Also a(n) is a largest m such that m! <= sqrt(n!). - Zak Seidov, Jul 07 2009
LINKS
EXAMPLE
n = 12: 5040 = 1*2*3*4*5*6*7 <= 8*9*10*11*12 = 95040 and as 40320 = 1*2*3*4*5*6*7*8 > 9*10*11*12 = 11880 we have a(12) = 7.
PROG
(PARI) { m=2; for (n=1, 1000, s=sqrt(n!); while (m! <= s, m++); write("b064542.txt", n, " ", m - 1) ) } \\ Harry J. Smith, Sep 18 2009
CROSSREFS
Sequence in context: A259549 A098295 A074840 * A210434 A256502 A177151
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Oct 08 2001
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 April 24 18:17 EDT 2024. Contains 371962 sequences. (Running on oeis4.)