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
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
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
KEYWORD
nonn
AUTHOR
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 18 16:22 EDT 2024. Contains 371780 sequences. (Running on oeis4.)