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

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A144574 Largest prime < nonprime(prime(n)). 1
 3, 5, 7, 11, 17, 19, 23, 23, 31, 41, 43, 47, 53, 59, 61, 73, 79, 83, 89, 89, 97, 103, 109, 113, 127, 131, 131, 139, 139, 139, 163, 167, 173, 179, 191, 193, 199, 199, 211, 211, 227, 229, 241, 241, 241, 251, 263, 283, 283, 283, 293, 293, 293, 313, 317, 317, 331 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 COMMENTS The n-th nonprime with a prime subscript is A078782(n) = A018252(A000040(n)). LINKS Table of n, a(n) for n=1..57. EXAMPLE a(1)=3 because nonprime(prime(1)) = nonprime(2) = 4 and the largest prime < 4 is 3; a(2)=5 because nonprime(prime(2)) = nonprime(3) = 6 and the largest prime < 6 is 5. MAPLE A018252 := proc(n) if n = 1 then 1; else for a from procname(n-1)+1 do if not isprime(a) then return a; end if; end do: end if; end proc: A078782 := proc(n) A018252(ithprime(n)) ; end proc: A144574 := proc(n) prevprime(A078782(n)) ; end proc: seq(A144574(n), n=1..120) ; # R. J. Mathar, May 01 2010 CROSSREFS Cf. A000040, A018252, A078782. Sequence in context: A219533 A094615 A245396 * A082373 A116959 A249505 Adjacent sequences: A144571 A144572 A144573 * A144575 A144576 A144577 KEYWORD nonn AUTHOR Juri-Stepan Gerasimov, Jan 06 2009 EXTENSIONS Corrected (19 inserted) by R. J. Mathar, May 01 2010 Edited by Jon E. Schoenfield, Feb 07 2019 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.

Last modified May 28 04:05 EDT 2023. Contains 362992 sequences. (Running on oeis4.)