Remix.run Logo
keithalewis 4 days ago

There are Pythagorean triples (a, b, c) for which there do not exist integers m, n with a = m^2 - n^2, b = 2mn, c = m^2 + n^2.

tromp 4 days ago | parent | next [-]

But all such triples are non-primitive. I.e. they are of the form (ka, kb, kc) with k>1. So all Pythagorean triples can be generated as a scaled primitive triple (a,b,c) that is generated by Euclid's formula from m,n.

FredrikMeyer 4 days ago | parent | prev [-]

Learned something new today. For other interested: https://en.wikipedia.org/wiki/Pythagorean_triple#Generating_...