login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons 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
1, 4, 6, 8, 10, 12, 14, 15, 19, 21, 25, 26, 28, 30, 32, 33, 37, 38, 42, 44, 48, 49, 51, 53, 57, 58, 60, 61, 65, 66, 72, 73, 75, 77, 79, 81, 83, 84, 96, 97, 99, 100, 104, 106, 114, 116, 120, 121, 125, 126, 128, 129, 133, 134, 138, 140, 148, 150, 152, 154, 164, 165, 175 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

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

LINKS

Table of n, a(n) for n=1..63.

EXAMPLE

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

CROSSREFS

Sequence in context: A248419 A186389 A039767 * A201221 A185604 A054023

Adjacent sequences:  A176232 A176233 A176234 * A176236 A176237 A176238

KEYWORD

nonn

AUTHOR

Juri-Stepan Gerasimov, Apr 12 2010

EXTENSIONS

Corrected (101 removed) by R. J. Mathar, Apr 16 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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified February 25 22:37 EST 2021. Contains 341618 sequences. (Running on oeis4.)