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”).

A307880
Hypotenuses of primitive pythagorean triangles having the property that the sum and absolute difference of the shorter legs are both prime numbers.
2
13, 17, 25, 37, 53, 65, 73, 85, 97, 109, 113, 137, 149, 193, 197, 205, 221, 233, 277, 289, 305, 317, 337, 365, 401, 425, 445, 449, 457, 485, 505, 533, 541, 613, 625, 641, 653, 673, 697, 709, 725, 757, 785, 793, 809, 821, 877, 905, 925, 949, 1009
OFFSET
1,1
LINKS
EXAMPLE
13 is a term because 12 + 5 = 17 and 12 - 5 = 7.
17 is a term because 15 + 8 = 23 and 15 - 8 = 7.
25 is a term because 24 + 7 = 31 and 24 - 7 = 17.
MATHEMATICA
Sqrt[#[[1]]^2+#[[2]]^2]&/@Select[Union[Sort/@({Times@@#, (Last[#]^2-First[ #]^2)/2}&/@(Select[Subsets[Range[1, 51, 2], {2}], GCD@@#==1&]))], AllTrue[ {Total[#], #[[2]]-#[[1]]}, PrimeQ]&]//Union (* Harvey P. Dale, Sep 25 2022 *)
CROSSREFS
Subset of A008846.
Sequence in context: A104278 A129070 A335036 * A155923 A248215 A283135
KEYWORD
nonn
AUTHOR
Torlach Rush, May 02 2019
STATUS
approved