I am trying to generate primitive solutions (GCD is 1 for $a, b, c$) to the equation $a^2+4b^2=c^2$. I attempted to do this by modifying the usual Pythagorean triplet $(m^2-n^2)^2 + (2mn)^2 = (m^2+n^2)^2$ but was unable to get anywhere with that approach.
Tell me more
×
Mathematics Stack Exchange is a question and answer site for
people studying math at any level and professionals in related fields. It's 100% free, no registration required.
|
$$a^2+4b^2=z^2\iff a^2+(2b)^2=z^2\iff \\ a=m^2-n^2, \ b=mn , \ z=m^2+n^2 , \ \ (m,n)=1 , m-n>0.$$ |
|||||||||||
|

