logo

Primitive Pythagorean triples are coprime. 📂Number Theory

Primitive Pythagorean triples are coprime.

Theorem

Given three natural numbers satisfying a2+b2=c2a^2 + b^2 = c^2, if a,b,ca,b,c then gcd(a,b)=1gcd(b,c)=1gcd(c,a)=1 \gcd (a,b) = 1 \\ \gcd (b,c) = 1 \\ \gcd (c,a) = 1

Explanation

At first glance, it might seem obvious whether it’s about Pythagorean triples or anything else, but it’s not necessarily the case when considering the greatest common divisor. For example, without the condition of being Pythagorean triples, gcd(6,10,15)=1\gcd (6,10,15) = 1 would be true, but each pair of numbers would have their own common divisor. Strategy: The proof essentially presupposes the following two lemmas.

Another expression of Pythagorean triples: For three natural numbers satisfying a2+b2=c2a^2 + b^2 = c^2, if a,b,ca,b,c, then a=stb=s2t22c=s2+t22 \begin{align*} a =& st \\ b =& {{s^2 - t^2 } \over {2}} \\ c =& {{s^2 + t^2 } \over {2}} \end{align*} there exist two coprime odd numbers s>ts>t.

In the process of proving the above theorem, it can be derived that when (a,b,c)(a,b,c) is a primitive Pythagorean triple, then gcd(s,t)=1\gcd (s,t) = 1.

A prime that divides a number also divides at least one of its factors: For n:=d1d2drn : = d_{1} d_{2} \cdots d_{r}, if pnp \mid n, then pp must divide one of d1,d2,,drd_{1} , d_{2} , \cdots , d_{r}.

Proof

Part 1. gcd(a,b)=1\gcd (a,b) = 1

Let’s assume that the prime gg is a=stb=s2t22 a = st \\ \displaystyle b = {{s^2 - t^2 } \over {2}} a common factor.

Then, since gstg \mid st, it must be either gsg \mid s or gtg \mid t, and since gs2t22\displaystyle g \mid {{s^2 - t^2 } \over {2}}, it must be either g(st)g \mid (s-t) or gs+t2\displaystyle g \mid {{s + t } \over {2}}. Here, if we suppose gsg \mid s, given the assumption of it being a primitive Pythagorean number, gcd(s,t)=1\gcd (s,t)=1 leads to gtg \nmid t. Therefore, g(st)gs+t2 g \nmid (s-t) \\ g \nmid {{s + t } \over {2}} which is a contradiction.


Part 2. gcd(b,c)=1\gcd (b,c) = 1

Let’s assume that the prime hh is b=s2t22c=s2+t22 b = {{s^2 - t^2 } \over {2}} \\ c = {{s^2 + t^2 } \over {2}} a common factor.

Then, hs2t22hs2+t22 h \mid {{s^2 - t^2 } \over {2}} \\ h \mid {{s^2 + t^2 } \over {2}} leads to h(s2t22s2+t22)h(s2t22+s2+t22) h \mid \left( {{s^2 - t^2 } \over {2}} - {{s^2 + t^2 } \over {2}} \right) \\ h \mid \left( {{s^2 - t^2 } \over {2}} + {{s^2 + t^2 } \over {2}} \right) . Summarizing, hs2ht2 h \mid s^2 \\ h \mid t^2 , this means gcd(s,t)1\gcd (s,t) \ne 1, which leads to a contradiction.


Part 3. gcd(c,a)=1\gcd (c,a) = 1

Let’s assume that the prime kk is a=stc=s2+t22 a = st \\ c = {{s^2 + t^2 } \over {2}} a common factor.

Then, since kstk \mid st, it must be either ksk \mid s or ktk \mid t, and ks2+t22\displaystyle k \mid {{s^2 + t^2 } \over {2}}. Here, if we suppose ksk \mid s, given the assumption of it being a primitive Pythagorean number, gcd(s,t)=1\gcd (s,t)=1 leads to ktk \nmid t. Therefore, ks2+t22\displaystyle k \nmid {{s^2 + t^2 } \over {2}}, which is a contradiction.