The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A168563 (n-th prime > 3) minus (n-th composite number). 3
 1, 1, 3, 4, 7, 7, 9, 14, 15, 19, 21, 22, 25, 29, 34, 35, 40, 43, 43, 47, 50, 55, 62, 65, 65, 68, 69, 71, 83, 86, 91, 91, 100, 101, 106, 111, 113, 118, 123, 124, 133, 133, 135, 136, 147, 158, 161, 161, 164, 169, 169, 177, 182, 187, 192, 193, 197, 200, 201, 209, 222, 225, 226 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,3 LINKS Harvey P. Dale, Table of n, a(n) for n = 1..1000 FORMULA a(n) = prime(n+2)-composite(n) = A161671(n+2). MATHEMATICA Module[{nn=100, pr, cmp}, cmp=Select[Range[nn], CompositeQ]; pr=Prime[ Range[ 3, Length[cmp]+2]]; pr-cmp] (* Harvey P. Dale, May 28 2015 *) CROSSREFS Sequence in context: A162431 A024605 A215630 * A261368 A307743 A257007 Adjacent sequences:  A168560 A168561 A168562 * A168564 A168565 A168566 KEYWORD nonn,easy AUTHOR Juri-Stepan Gerasimov, Nov 29 2009 EXTENSIONS Edited by Charles R Greathouse IV, Mar 25 2010 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified February 22 16:15 EST 2020. Contains 332138 sequences. (Running on oeis4.)