<?xml version="1.0" encoding="UTF-8"?>

<record version="10" id="138">
 <title>Pythagorean triplet</title>
 <name>PythagoreanTriple</name>
 <created>2001-10-06 17:19:42</created>
 <modified>2008-12-05 11:29:11</modified>
 <type>Definition</type>
 <creator id="3" name="drini"/>
 <author id="2872" name="pahio"/>
 <author id="3" name="drini"/>
 <author id="409" name="mps"/>
 <author id="1858" name="matte"/>
 <classification>
	<category scheme="msc" code="11-00"/>
 </classification>
 <defines>
	<concept>seed number</concept>
	<concept>primitive Pythagorean triple</concept>
	<concept>primitive Pythagorean triplet</concept>
 </defines>
 <synonyms>
	<synonym concept="Pythagorean triplet" alias="Pythagorean triple"/>
 </synonyms>
 <related>
	<object name="PythagorasTheorem"/>
	<object name="IncircleRadiusDeterminedByPythagoreanTriple"/>
	<object name="PythagoreanHypotenusesAsContraharmonicMeans"/>
 </related>
 <keywords>
	<term>Triangle</term>
	<term>Pythagoras</term>
	<term>Geometry</term>
 </keywords>
 <preamble>\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{graphicx}
\usepackage{xypic}</preamble>
 <content>A \emph{Pythagorean triplet} is a set $\{a, b, c\}$ of three positive 
integers such that
\[ 
   a^2 + b^2 = c^2.  
\]

That is, $\{a, b, c\}$ is a Pythagorean triplet if there exists a
right triangle whose sides have lengths $a$, $b$, and $c$,
respectively.  For example, $\{3, 4, 5\}$ is a Pythagorean triplet.
Given one Pythagorean triplet $\{a, b, c\}$, we can produce another by
multiplying $a$, $b$, and $c$ by the same factor $k$.  It follows that
there are countably many Pythagorean triplets.

\subsubsection*{Primitive Pythagorean triplets}

A Pythagorean triplet is \emph{primitive} if its elements are
coprimes.  All primitive Pythagorean triplets are given by
\begin{align}
\begin{cases}
a = 2mn,\\
b = m^2\!-\!n^2,\\
c = m^2\!+\!n^2,
\end{cases}
\end{align}

where the \emph{seed numbers} $m$ and $n$ are any two coprime positive
integers, one odd and one even, such tht $m &gt; n$.\, The equations (1) give all Pythagorean triplets, if one presumes of the positive integers $m$ and $n$ only that\, $m &gt; n$.\\

\textbf{Note 1.}\, Among the primitive Pythagorean triples, the odd cathetus $a$ may attain all odd values except 1 (set e.g.\, $m := n\!+\!1$) and the even cathetus $b$ all values divisible by 4 (set\, $n := 1$).\\

\textbf{Note 2.}\, In the primitive triples, the hypothenuses $c$ are always odd.\, All possible Pythagorean hypotenuses are contraharmonic means of two different integers (and conversely).\\

\textbf{Note 3.}\, One can form the sequence (cf. Sloane's \PMlinkexternal{A100686}{http://www.research.att.com/~njas/sequences/?q=A100686&amp;language=english&amp;go=Search})
\[
  1,\,2,\,3,\,4,\,7,\,24,\,527,\,336,\,164833,\,354144,\,...
\]
taking first the seed numbers 1 and 2 which give the legs 3 and 4,
taking these as new seed numbers which give the legs 7 and 24, and
so on.

% related: PythagoreanTriplesAndRationalPointsOnAUnitHyperbola
</content>
</record>
