login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A176236
Numbers n such that one of nonnegative nonprime(n)-2 or nonnegative nonprime(n)+2 is prime.
0
1, 2, 3, 17, 19, 23, 25, 35, 37, 40, 42, 46, 48, 55, 57, 63, 65, 68, 72, 86, 96, 102, 104, 108, 114, 118, 120, 123, 125, 131, 133, 136, 138, 142, 148, 156, 164, 167, 175, 185, 187, 191, 197, 200, 202, 205, 207, 210, 212, 216, 218, 225, 231, 234, 244, 254, 264
OFFSET
1,2
COMMENTS
Exactly one of A141468(n)-2 and A141468(n)+2 is prime.
EXAMPLE
a(1)=1 because nonnegative nonprime(1)-2=-2=negative nonprime and nonnegative nonprime(1)+2=2=prime.
CROSSREFS
Sequence in context: A078201 A361104 A090913 * A171139 A291281 A135931
KEYWORD
nonn
AUTHOR
EXTENSIONS
More terms from R. J. Mathar, Apr 16 2010
STATUS
approved