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”).

Numbers n such that one of nonnegative nonprime(n)-2 or nonnegative nonprime(n)+2 is prime.
0

%I #4 Mar 30 2012 18:52:40

%S 1,2,3,17,19,23,25,35,37,40,42,46,48,55,57,63,65,68,72,86,96,102,104,

%T 108,114,118,120,123,125,131,133,136,138,142,148,156,164,167,175,185,

%U 187,191,197,200,202,205,207,210,212,216,218,225,231,234,244,254,264

%N Numbers n such that one of nonnegative nonprime(n)-2 or nonnegative nonprime(n)+2 is prime.

%C Exactly one of A141468(n)-2 and A141468(n)+2 is prime.

%e a(1)=1 because nonnegative nonprime(1)-2=-2=negative nonprime and nonnegative nonprime(1)+2=2=prime.

%K nonn

%O 1,2

%A _Juri-Stepan Gerasimov_, Apr 12 2010

%E More terms from _R. J. Mathar_, Apr 16 2010