I was solving this question Pythagorean Theorem II
and saw some optimized solution based on this relation seems
Saw some solved optimized codes using this relations seems gcd(a,b,c)=1
I know a,b,c are relatively prime but is it enough to know that ?
Can somebody tell me proof of this approach ?