How many right triangles have integer leg lengths and and a hypotenuse of length , where ?
- A)
- B)
- C)
- D)
- E)
Answer
A
Key insight
The Pythagorean condition collapses to a^2 = 2b + 1, so a is odd and b = (a^2 - 1)/2 < 100 forces a in {3, 5, ..., 13}.
Solution
The Pythagorean theorem gives , so
Thus is odd, so is odd, and is automatically an integer for odd . Each odd therefore yields exactly one triangle, provided is a positive integer below .
Positivity: gives , which is not a triangle, so .
Bound: means , so , giving . The odd values are , with .
That is triangles. The answer is .
Why this works
Hypotenuse one more than a leg is the classic family of Pythagorean triples (--, --, --, ...). Expanding cancels the terms and leaves a linear relation, so parity and a bound finish the count. When a problem fixes a difference between two sides, expand and cancel first.
The trap
Including a = 1 (which gives b = 0, not a triangle) to get 7, or including a = 15 even though its b = 112 exceeds 100.
Common mistakes
- Including a = 1 (which gives b = 0, not a triangle) to get 7, or including a = 15 even though its b = 112 exceeds 100.
- Bounding with instead of and counting far too many odd values.
Techniques
Apply an identity: SFFT, sum of squares, difference of cubes, Vieta · Bound the quantity above/below or estimate to pin it down