OFFSET
1,1
COMMENTS
All numbers in this sequence end with 3 or 7 (except the first one, which is 5). See A136191 or A136192. - Carlos Alves, Dec 20 2007
LINKS
K. D. Bajpai, Table of n, a(n) for n = 1..10000
EXAMPLE
From K. D. Bajpai, Sep 08 2020: (Start)
7 is a term because 2*7 + 3 = 17 and 2*7 - 3 = 11 are both prime.
13 is a term because 2*13 + 3 = 29 and 2*13 - 3 = 23 are both prime.
(End)
MAPLE
select(p -> isprime(p) and isprime(2*p+3) and isprime(2*p-3), [seq(2*k+1, k=1..1000)]); # K. D. Bajpai, Sep 08 2020
MATHEMATICA
Select[Prime@Range@1000, PrimeQ[2#-3]&&PrimeQ[2#+3]&] (* Vladimir Joseph Stephan Orlovsky, Apr 25 2011 *)
PROG
(Magma) [p: p in PrimesUpTo(10000)|IsPrime(2*p-3) and IsPrime(2*p+3)] // Vincenzo Librandi, Nov 16 2010
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Zak Seidov, Feb 21 2004
STATUS
approved