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!)
A176235 Numbers n such that one of nonprime(n)-1 or nonprime(n)+1 is prime. 0

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

%S 1,4,6,8,10,12,14,15,19,21,25,26,28,30,32,33,37,38,42,44,48,49,51,53,

%T 57,58,60,61,65,66,72,73,75,77,79,81,83,84,96,97,99,100,104,106,114,

%U 116,120,121,125,126,128,129,133,134,138,140,148,150,152,154,164,165,175

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

%C Exactly one of A018252(n)-1 and A018252(n)+1 is prime.

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

%K nonn

%O 1,2

%A _Juri-Stepan Gerasimov_, Apr 12 2010

%E Corrected (101 removed) by _R. J. Mathar_, Apr 16 2010

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 April 20 00:00 EDT 2024. Contains 371798 sequences. (Running on oeis4.)