Y
Hacker News
new
|
ask
|
show
|
jobs
by
keithalewis
576 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.
2 comments
tromp
576 days ago
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.
link
FredrikMeyer
576 days ago
Learned something new today. For other interested:
https://en.wikipedia.org/wiki/Pythagorean_triple#Generating_...
link