PlanetMath (more info)
 Math for the people, by the people. Sponsor PlanetMath
Encyclopedia | Requests | Forums | Docs | Wiki | Random | RSS  
Login
create new user
name:
pass:
forget your password?
Main Menu
Revision difference : Pythagorean triplet
Version 4 Version 3
A \emph{Pythagorean triplet} is a set\, $\{a,\,b,\,c\}$\, of three integers such that A \emph{Pythagorean triplet} is a set $\{a,b,c\}$ of three integers such that
$$ $$
a^2+b^2=c^2. a^2+b^2=c^2.
$$ $$
That is, $\{a,\,b,\,c\}$ is a Pythagorean triplet if there exists a right triangle whose sides are $a,\,b,\,c$.\, An example is\, $\{3,\,4,\,5\}$.\, That is, $\{a,b,c\}$ is a Pythagorean triplet if there exists a right triangle whose sides are $a,b,c$. An example is $\{3,4,5\}$.
If\, $\{a,\,b,\,c\}$\, a Pythagorean triplet, so is\, $\{ka,\,kb,\,kc\}$\, for\, $k = 1,\,2,\,\ldots$. If $\{a,b,c\}$ a Pythagorean triplet, so is $\{ka,kb,kc\}$ for $k=1,2,\ldots$.
It follows that there are countably many Pythagorean triplets. It follows that there are countably many Pythagorean triplets.
\subsubsection*{Primitive Pythagorean triplets} \subsubsection*{Primitive Pythagorean triplets}
If $a,\,b,\,c$ are coprimes, then we say that the triplet is \emph{primitiv{e}}.\, If $a,b,c$ are coprimes, then we say that the triplet is \emph{primitiv{e}}.
All the primitive Pythagorean triplets are given by All the primitive Pythagorean triplets are given by
\begin{eqnarray*} \begin{eqnarray*}
a &=& 2mn,\\ a &=& 2mn,\\
b &=& m^2\!-\!n^2,\\ b &=& m^2-n^2,\\
c &=& m^2\!+\!n^2, c &=& m^2+n^2,
\end{eqnarray*} \end{eqnarray*}
where the {\em seed numbers} $m,\,n$ are any two coprime integers, one odd and the other even with $m > n$. where $m,n$ are any two coprime integers, one odd and the other even with $m>n$.