Comprehensive Calculator Guide
This calculator builds a Pythagorean triple, three whole numbers with a² + b² = c², from two integers m and n using Euclid’s formula, and tells you whether it is primitive. m = 2 and n = 1 give the famous 3-4-5; m = 3 and n = 2 give 5-12-13. Builders use them to set right angles.
Euclid’s formula
a = m² − n², b = 2mn, c = m² + n². Coprime m and n of opposite parity give a primitive triple.
How to Use
- Enter m.
- Enter n, below m.
- Press “Generate” to see the triple.
Formula Used
a = m² − n² | b = 2mn | c = m² + n²
Practical Examples
- Example 1
- 2, 1: 3-4-5.
- Example 2
- 3, 1: 8-6-10.
Important Tips
- Odd difference and no common factor.
- Multiply a triple for a bigger one.
- Use 3-4-5 to square corners.
Common Mistakes to Avoid
- n ≥ m.
- Assuming all are primitive.
- Adding instead of squaring.
Frequently Asked Questions
- A triple?
- Whole numbers with a² + b² = c².
- Smallest?
- 3, 4, 5.
- How many?
- Infinitely many.