There is no escape...believe it or not. Mathematics is everywhere.
To verify a pythagorean triplet check if it has no common factor.
Then if the smallest number is even then equate to 2m, check for m^2 - 1, m^2 +1.
If the smallest is odd then equate to sqrt of 2m+1, find m and m+1.
Added by Brinda Ramesh on May 6, 2015 at 4:51pm — No Comments