OFFSET
1,1
COMMENTS
Subsequence of A002496.
Also, primes of form p^2 + 2pq + q^2 + 1; p and q are consecutive primes.
LINKS
K. D. Bajpai, Table of n, a(n) for n = 1..10000
EXAMPLE
577 is in the sequence because (11 + 13)^2 + 1 = 577, which is prime.
1297 is in the sequence because (17 + 19)^2 + 1 = 1297, which is prime.
MAPLE
MATHEMATICA
PROG
(Magma) [t: p in PrimesUpTo(1000) | IsPrime(t) where t is (p+NextPrime(p))^2+1]; // Bruno Berselli, Jun 24 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
K. D. Bajpai, Jun 20 2014
STATUS
approved