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

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A025005 a(1) = 5; a(n+1) = a(n)-th nonprime, where nonprimes begin at 1. 0
 5, 9, 15, 24, 35, 50, 69, 93, 123, 160, 206, 261, 327, 406, 501, 612, 744, 898, 1078, 1286, 1527, 1806, 2125, 2492, 2913, 3390, 3936, 4553, 5250, 6036, 6926, 7926, 9051, 10316, 11723, 13302, 15060, 17022, 19198, 21627, 24328, 27317, 30619, 34281, 38326, 42802 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS MATHEMATICA Module[{nn=100000, np}, np=Complement[Range[nn], Prime[Range[PrimePi[nn]]]]; Flatten[NestList[np[[#]]&, {5}, 50]]] (* Harvey P. Dale, Dec 02 2014 *) CROSSREFS Sequence in context: A315082 A315083 A294020 * A074953 A023498 A256343 Adjacent sequences:  A025002 A025003 A025004 * A025006 A025007 A025008 KEYWORD nonn AUTHOR 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 August 11 12:12 EDT 2022. Contains 356065 sequences. (Running on oeis4.)