how to find all primitive triples when one value of $(a,b,c)$ is given? For example in this case $a = 45$.
What is the procedure to find the primitive triples ?
Conditions for primitive triples are:
-
$a^2 + b^2 = c^2$
-
$(a,b) = 1$
-
$a$ and $c$ are odd and $b$ is even.
Best Answer
There is a well-known parametrization of primitive triples as $(n^2-m^2, 2mn, n^2+m^2)$ for appropriate values of $n,m$. So for your problem you should proceed by solving for $n$ and $m$ coprime such that $n^2-m^2 = (n+m)(n-m) = 45$.