OFFSET
1,1
COMMENTS
A twin prime pair (other than {3,5}) is always in the form {6m-1,6m+1}, so the product of the pair is always in the form 36*m^2-1 and a twin prime sum is always in the form 12m. As such, a twin prime sum can be one more than a twin prime product, but not vice versa, nor can a sum and product ever be equal.
{71,73} and {881,883} appear both as sums and as products.
LINKS
Keith F. Lynch, Table of n, a(n) for n = 1..197
EXAMPLE
144 is a term because 71+73 = 144 and 11*13 = 143.
5184 is a term because 2591+2593 = 5184 and 71*73 = 5183.
MATHEMATICA
With[{p = Select[Prime[Range[4200]], PrimeQ[# + 2] &]}, Select[p*(p + 2) + 1, And @@ PrimeQ[#/2 + {-1, 1}] &]] (* Amiram Eldar, Feb 19 2024 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Keith F. Lynch, Feb 18 2024
STATUS
approved