login
A359555
Primes p such that (p-2)^2 + 2 is also prime.
0
2, 3, 5, 11, 17, 23, 41, 47, 59, 83, 101, 107, 113, 149, 173, 227, 239, 251, 257, 311, 347, 353, 389, 419, 431, 443, 449, 479, 503, 557, 563, 653, 677, 683, 701, 809, 821, 839, 887, 911, 971, 983, 1013, 1181, 1217, 1223, 1373, 1427, 1439, 1499, 1511, 1601
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
Sequence in context: A107438 A211204 A023206 * A049565 A094480 A215013
KEYWORD
nonn
AUTHOR
Rhys Feltman, Feb 11 2023
STATUS
approved