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!)
A060048 a(1) = 1 and for n>1 a(n) = Max { q prime | q# < prime(n)# / q# } where prime(i) = A000040(i) and p(i)# = A002110(i), primorial. 1
1, 2, 2, 3, 5, 5, 7, 11, 11, 13, 13, 17, 19, 19, 23, 23, 29, 31, 31, 37, 37, 41, 43, 43, 47, 47, 53, 53, 59, 61, 61, 67, 67, 71, 71, 73, 79, 79, 83, 83, 89, 97, 97, 101, 101, 103, 103, 107, 109, 109, 113, 113, 127, 127, 131, 131, 137, 139, 139, 149, 149, 151, 151, 157 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
prime(10) = 29: 2*3*5*7*11*13 < 17*19*23*29 and as 2*3*5*7*11*13*17 > 19*23*29 we have a(10) = 13.
PROG
(PARI) primo(n) = factorback(primes(n)); \\ A002110
a(n) = {if (n==1, 1, my(iq=2, P= primo(n)); while (sqr(primo(iq))<P, iq++); prime(iq-1); ); } \\ Michel Marcus, Mar 04 2022
CROSSREFS
Sequence in context: A239482 A280470 A011971 * A110699 A035537 A285407
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Oct 06 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 May 7 21:53 EDT 2024. Contains 372317 sequences. (Running on oeis4.)