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.
You can share this blog post in two ways…
Share this link:
Send it with your computer's email program: Email this