What is a Pythagorean triple?+
A Pythagorean triple is a set of three positive integers a, b, c satisfying a squared plus b squared equals c squared. These represent the side lengths of a right triangle. The most famous example is 3-4-5 (9 + 16 = 25). There are infinitely many Pythagorean triples, and this calculator generates them all up to any hypotenuse limit you choose.
What is a primitive Pythagorean triple?+
A primitive Pythagorean triple is one where the three numbers share no common factor other than 1 (their GCF is 1). Examples: 3-4-5, 5-12-13, 8-15-17, 7-24-25. Non-primitive triples are multiples of primitive ones: 6-8-10 is 2 times 3-4-5, and 15-20-25 is 5 times 3-4-5. All Pythagorean triples are either primitive or multiples of primitive triples.
How does Euclid's formula generate Pythagorean triples?+
Euclid's formula produces a Pythagorean triple from any two positive integers m and n (m greater than n): a = m squared minus n squared, b = 2mn, c = m squared plus n squared. For a primitive triple, m and n must be coprime (gcd = 1) and have opposite parity (one odd, one even). Example: m = 3, n = 2 gives a = 5, b = 12, c = 13. Verify: 25 + 144 = 169 = 13 squared.
Is 6-8-10 a Pythagorean triple?+
Yes. 6 squared + 8 squared = 36 + 64 = 100 = 10 squared, so 6-8-10 satisfies the Pythagorean theorem. However, it is not a primitive triple because gcd(6, 8, 10) = 2. It is simply the 3-4-5 triple scaled by 2. Other non-primitive multiples of 3-4-5 include 9-12-15, 12-16-20, 15-20-25, and 30-40-50.
How do you check if three numbers form a Pythagorean triple?+
Sort the numbers so the largest is c. Compute a squared plus b squared. If it equals c squared, the three numbers are a Pythagorean triple. Example: check 20-21-29. Sort: 20, 21, 29. 20 squared + 21 squared = 400 + 441 = 841. 29 squared = 841. Match: yes, 20-21-29 is a Pythagorean triple. Use the Check mode in this calculator for instant verification.
What are the first 10 primitive Pythagorean triples?+
The first 10 primitive Pythagorean triples ordered by hypotenuse are: 3-4-5, 5-12-13, 8-15-17, 7-24-25, 20-21-29, 9-40-41, 12-35-37, 11-60-61, 13-84-85, and 28-45-53. Every one of these has gcd(a, b, c) = 1. Use the Generate mode with limit 90 to see all of them in a table.
How is the 3-4-5 rule used in construction?+
The 3-4-5 rule is a quick field method for checking right angles. Measure 3 units along one edge, 4 units along the perpendicular edge, and verify the diagonal is exactly 5 units. If it is, the corner is 90 degrees. For larger layouts, scale up: 6-8-10, 9-12-15, or 30-40-50 all work equally well. This technique predates modern surveying instruments and is still used by carpenters and landscapers daily.
Are there Pythagorean triples with consecutive integers?+
Yes. Triples with consecutive legs include 3-4-5, 20-21-29, 119-120-169, and 696-697-985. Triples with the two larger numbers consecutive (like 3-4-5 where 4 and 5 are consecutive) follow the pattern (n, (n squared minus 1) divided by 2, (n squared plus 1) divided by 2) for odd n greater than 1: 3-4-5, 5-12-13, 7-24-25, 9-40-41, 11-60-61.
How many Pythagorean triples have hypotenuse at most 100?+
There are 52 Pythagorean triples with hypotenuse at most 100, of which 16 are primitive. The primitive ones include 3-4-5, 5-12-13, 8-15-17, 7-24-25, 20-21-29, 9-40-41, 12-35-37, 11-60-61, 13-84-85, 36-77-85, 20-99-101 (over 100), 28-45-53, 33-56-65, 36-77-85, 48-55-73, and 65-72-97. Enter limit = 100 in the Generate mode to see all 52.
Can Pythagorean triples include even hypotenuses?+
In primitive triples, the hypotenuse c is always odd. This is because in Euclid's formula c = m squared plus n squared, and for opposite-parity m and n, one is even and one is odd, so their squares sum to an odd number. However, non-primitive triples can have even hypotenuses. For example, 6-8-10 has hypotenuse 10, which is even (it is 2 times the 3-4-5 primitive triple).
What happens in Euclid's formula when m and n have the same parity?+
When both m and n are even or both are odd, the formula still generates a valid Pythagorean triple, but it will not be primitive. For example, m = 2, n = 2 fails because n must be less than m. Try m = 3, n = 1 (both odd): a = 8, b = 6, c = 10. That is 2 times 3-4-5, a non-primitive triple. The calculator flags this case with the primitive label set to No.