This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A172258 Primes p such that exactly one of the numbers 2p-3 and 2p+3 is prime. 0
 2, 3, 11, 19, 23, 29, 31, 37, 41, 47, 71, 73, 83, 89, 101, 107, 139, 173, 181, 191, 197, 199, 211, 227, 229, 233, 241, 251, 263, 269, 277, 307, 311, 317, 331, 337, 347, 349, 353, 373, 379, 383, 397, 409, 421, 431, 433, 439, 443, 457, 461, 463, 467, 503, 509 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS EXAMPLE a(1)=2 because 2*2-3=1 (nonprime) and 2*2+3=7 (prime); a(2)=29 because 2*29-3=55 (nonprime) and 2*29+3=61 (prime). MAPLE a := proc (n): if isprime(n) = true and isprime(2*n-3) = true and isprime(2*n+3) = false then n elif isprime(n) = true and isprime(2*n-3) = false and isprime(2*n+3) = true then n else end if end proc: seq(a(n), n = 1 .. 700); # Emeric Deutsch, Feb 15 2010 CROSSREFS Cf. A000040, A092110, A131426. Sequence in context: A257979 A095984 A229550 * A306395 A135206 A235629 Adjacent sequences:  A172255 A172256 A172257 * A172259 A172260 A172261 KEYWORD nonn AUTHOR Juri-Stepan Gerasimov, Jan 30 2010 EXTENSIONS Definition edited by Emeric Deutsch, Feb 15 2010 Corrected and extended by Emeric Deutsch, Feb 15 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.

Last modified April 22 04:04 EDT 2019. Contains 322329 sequences. (Running on oeis4.)