login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A282406
Primes p = x^2 + y^2 such that x - y is a square greater than one.
2
101, 353, 461, 521, 653, 677, 733, 857, 881, 997, 1153, 1237, 1553, 1613, 1901, 2053, 2153, 2297, 2557, 2693, 2713, 2833, 3061, 3313, 3433, 3581, 3593, 4001, 4013, 4273, 4481, 4637, 4813, 5413, 5981, 6037, 6101, 6301, 6473, 6653, 7121, 7393, 7793, 7853, 7877
OFFSET
1,1
LINKS
FORMULA
The prime number 353 is in the sequence because 353 = 17^2 + 8^2 and 17 - 8 = 9 = 3^2.
MATHEMATICA
Select[Union[Total[#^2]&/@Select[Subsets[Range[100], {2}], #[[2]]-#[[1]]>1&&IntegerQ[Sqrt[#[[2]]-#[[1]]]]&]], PrimeQ] (* Harvey P. Dale, Dec 14 2024 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Colin Barker, Feb 14 2017
STATUS
approved