Can we have a theorem that makes Pythagora's numbers without any errors?
2026-05-15 09:41:56.1778838116
Can we have a theorem that makes Pythagoras numbers without any error? #proof
51 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
2
I assume that by "Pythagorean number" you mean "Pythagorean triple" - that is, you're looking at generating triples $(a,b,c)$ such that $a^2+b^2=c^2$.
The answer is yes. In fact, the situation is as good as possible: we have a formula which enumerates only and all of the Pythagorean triples, and a proof that it works.
First, the easy part - generating lots of triples:
This is easy to prove: $$a^2+b^2=(m^4-2m^2n^2+n^4)+4m^2n^2=m^4+2m^2n^2+n^4=(m^2+n^2)^2=c^2.$$ So immediately this gives us a way to generate infinitely many Pythagorean triples easily.
It takes a bit more work to get every Pythagorean triple. First, note that the method above doesn't get all triples - e.g. it won't produce $a=9, b=12, c=15$ (check this!). We can fix this by throwing on another parameter:
The proof that this always gives a Pythagorean triple is identical to the previous argument (just factor away the $k$s); the proof that every triple is gotten this way (which really just boils down to showing that every primitive triple was gotten the original way) takes more work - and in particular isn't just a direct algebraic simplification - but is still elementary.