AMC 10 · 2008 · #15

Grade 8 number-theory
pythagorean-theoreminteger-pythagorean-triplesparity bound-inequality-then-enumerate ↑ Prerequisites: pythagorean-theorem
📏 Medium solution 💡 2 insights
Problem
A right triangle has legs of whole-number lengths a and b, and its hypotenuse is exactly one longer than the leg b, so the hypotenuse is b+1. With the extra rule b < 100, count how many such triangles exist.

Pick an answer.

(A)
$\ 6$
(B)
$\ 7$
(C)
$\ 8$
(D)
$\ 9$
(E)
$\ 10$

AMC 10 2008 problem © Mathematical Association of America (MAA AMC). Reproduced for educational use.

How to solve
Strategy Introduce a Variable

The three sides are already named a, b, and b+1, so tool #4 (Introduce a Variable) leads: writing the Pythagorean relation a²+b²=(b+1)² and cleaning it up collapses the whole problem into one tidy equation, a²=2b+1. That equation ties b directly to a, turning 'count the triangles' into 'count the allowed values of a'. Tool #3 (Eliminate Possibilities) then throws out every even a, because 2b+1 is odd, so a must be odd for b to be a whole number. Finally tool #2 (Make a Systematic List) walks the odd values of a that keep b a positive integer under 100 and counts them.

1STEP 1

Write the Pythagorean equation

Legs a and b with hypotenuse b+1 make the Pythagorean rule read a²+b²=(b+1)² — one equation for every allowed triangle.

a²+b²=(b+1)²
2STEP 2

Simplify to a clean form

Expanding cancels both b² terms and leaves a²=2b+1, so b=(a²-1)/2 — pick the leg a and b is fixed.

a²=2b+1 ⟹ b=(a²-1)/2
3STEP 3

Keep only odd legs a

Since 2b+1 is odd, a² is odd, so a must be odd; a=1 would give b=0 and no triangle, so the smallest usable leg is a=3.

a odd, a ≥ 3
4STEP 4

List the odd legs under the limit

b < 100 forces a² < 201, so odd a runs 3,5,7,9,11,13 with b=4,12,24,40,60,84 — 6 triangles, choice (A).

a∈{3,5,7,9,11,13}→ 6 triangles
Answer
6
Each listed pair really is a right triangle: (3,4,5), (5,12,13), (7,24,25), (9,40,41), (11,60,61), (13,84,85) — every one is a Pythagorean triple, and in each the hypotenuse is exactly one more than the longer leg b, matching the rule. The next odd leg a=15 would give b=112, which breaks b < 100, so stopping at 13 is correct. Six triangles matches choice (A), the smallest option, which fits since the b < 100 cap is fairly tight.
💡Key takeaway

When the hypotenuse is just one more than a leg, the Pythagorean equation collapses to a²=2b+1, so you only have to count the odd legs that stay in range.

  • Write the Pythagorean equation
  • Simplify to a clean form
  • Keep only odd legs a
  • List the odd legs under the limit