OFFSET
1,1
LINKS
Eric Weisstein's World of Mathematics, Prime Triplet
EXAMPLE
P = 5 (prime),
P + 2 = 7 (prime),
P + 6 = 11 (prime),
and 5 + 7 + 11 = 23 is prime and is a term.
P = 7 (prime),
P + 4 = 11 (prime),
P + 6 = 13 (prime)
and 7 + 11 + 13 = 31 is prime and is a term.
However, (p,q,r) = (13,17,19) fails because the sum is not a prime.
MATHEMATICA
Select[Total /@ Select[Partition[Prime@Range[2000], 3, 1], #[[3]] == 6 + #[[1]] &], PrimeQ] (* Giovanni Resta, Jul 25 2019 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Philip Mizzi, Jul 25 2019
EXTENSIONS
More terms from Giovanni Resta, Jul 25 2019
STATUS
approved