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!)
A175217 The second nonprimes after the primes. 0
6, 6, 8, 9, 14, 15, 20, 21, 25, 32, 33, 39, 44, 45, 49, 55, 62, 63, 69, 74, 75, 81, 85, 91, 99, 104, 105, 110, 111, 115, 129, 133, 140, 141, 152, 153, 159, 165, 169, 175, 182, 183, 194, 195, 200, 201, 213, 225, 230, 231, 235, 242, 243, 253, 259, 265, 272, 273, 279 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = prime(n)+2 + A010051(prime(n)+1) + A010051(prime(n)+2) + A010051(prime(n)+3). [From Reinhard Zumkeller, Mar 29 2010]
MATHEMATICA
b[n_] := Boole[PrimeQ[n]];
a[n_] := With[{p = Prime[n]}, p + 2 + b[p + 1] + b[p + 2] + b[p + 3]];
Array[a, 59] (* Jean-François Alcover, Nov 12 2017, after Reinhard Zumkeller *)
CROSSREFS
Sequence in context: A201578 A322292 A195707 * A000509 A160257 A315830
KEYWORD
nonn,easy
AUTHOR
Jaroslav Krizek, Mar 06 2010
EXTENSIONS
More terms from Reinhard Zumkeller, Mar 29 2010
Typos in data corrected by Jean-François Alcover, Nov 12 2017
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.)