OFFSET
1,1
COMMENTS
Conjecture: this sequence is infinite.
EXAMPLE
2 is not a term because 2*(2+3)+1=11 is a prime.
5 is not a term because 2*(5+7)-1=23 is a prime.
29 is a term because neither 2(29+31)+1 nor 2(29+31)-1 is a prime.
MATHEMATICA
Prime[Select[Range[155], !PrimeQ[2(Prime[#]+Prime[#+1])-1] && !PrimeQ[2(Prime[#]+Prime[#+1])+1]&]] (* Stefano Spezia, Jul 15 2024 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Marcin Barylski, Jul 14 2024
STATUS
approved