OFFSET
1,1
COMMENTS
Primes in the sequence: 2, 3, 7, 13, 43, 127, 211, 293, 743, 757, 797, 811, 1429,...
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
2^2 - 2 = 2 is prime and 2*2^2 - 1 = 7 is prime, so a(1) = 2.
MATHEMATICA
Select[Range[1653], PrimeQ[#^2 - 2] && PrimeQ[2*#^2 - 1] &] (* T. D. Noe, May 10 2013 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Gerasimov Sergey, Apr 27 2013
EXTENSIONS
Corrected by R. J. Mathar, May 05 2013
STATUS
approved