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.
© 2017 Created by Rashmi Kathuria. Powered by