OFFSET
1,1
EXAMPLE
11 is a term since (11-2)^2 + 2 = 83, 83 is prime, and so is 11.
MATHEMATICA
Select[Prime[Range[500]], PrimeQ[(#-2)^2+2] &]
PROG
(PARI) isok(p)={isprime(p) && isprime((p-2)^2 + 2)} \\ Andrew Howroyd, Feb 14 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
Rhys Feltman, Feb 11 2023
STATUS
approved