OFFSET
1,1
COMMENTS
Subsequence of prime terms of A249446.
EXAMPLE
2 is in this sequence because 2, 2*(2^2-1) - 1 = 5 and 2*(2^2-1) + 1 = 7 are all primes.
MATHEMATICA
Select[Range[25000], PrimeQ[#] && PrimeQ[2 #^2 - 3] && PrimeQ[2 #^2 - 1] &] (* Vincenzo Librandi, Nov 19 2014 *)
PROG
(Magma) [ n: n in [1..22000] | IsPrime(n) and IsPrime(2*(n^2-1)-1) and IsPrime(2*(n^2-1)+1) ];
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Nov 18 2014
STATUS
approved