OFFSET
1,2
EXAMPLE
2 is in sequence because 3^2 + 2 = 11 (3 and 11 are primes).
MATHEMATICA
Module[{nn=50, prs}, prs=Prime[Range[nn]]^2; Select[Range[ 100], AnyTrue[ prs+#, PrimeQ]&]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Nov 04 2020 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Jaroslav Krizek, Nov 22 2013
STATUS
approved