AMC 10 · 2002 · #12

Grade 8 geometry-2d
perfect-squaresdivisibility-rulesfactors bound-inequality-then-enumerate ↑ Prerequisites: perfect-squaresdivisibility-rules
📏 Long solution 💡 3 insights
Problem
Count how many integers n make the value of n divided by (20 minus n) equal to the square of an integer, that is, a perfect square like 0, 1, 4, or 9.

Pick an answer.

(A)
$\ 1$
(B)
$\ 2$
(C)
$\ 3$
(D)
$\ 4$
(E)
$\ 10$
How to solve
Strategy Introduce a Variable

Instead of testing many values of n, name the square: let k be the integer whose square equals the fraction. Solving for n turns the problem into a divisibility question, and then a short list of the divisors of 20 gives every answer at once.

1STEP 1

Where the fraction can be a square

A square is never negative, so numerator and denominator share a sign, leaving only 0 through 19.

n/(20-n) ≥ 0 → 0 ≤ n ≤ 19
2STEP 2

Name the square and solve for n

Naming the square k and clearing the fraction gives n(1+k²) = 20k².

k²=n/(20-n) → n = k²(20-n) → n(1+k²)=20k²
3STEP 3

Turn it into a divisibility test

Rewriting as 20 minus a fraction shows 1+k² must divide 20.

n=20k²/(1+k²)=20-20/(1+k²) → (1+k²) ∣ 20
4STEP 4

List the divisors and keep the squares

Of the divisors only k² of 0, 1, 4, 9 are real squares, giving k = 0, 1, 2, 3.

1+k²∈{1,2,4,5,10,20} → k²∈{0,1,4,9} → k=0,1,2,3
5STEP 5

Read off n and count

These give n = 0, 10, 16, 18, all in range, so the count is 4, choice (D).

k=0{:} n=0, k=1{:} n=10, k=2{:} n=16, k=3{:} n=18
Answer
4
Check each value directly: 0/(20-0)=0=0², 10/(20-10)=1=1², 16/(20-16)=4=2², 18/(20-18)=9=3². All four are perfect squares, and no other n between 0 and 19 works because every valid n must make 1 + k squared a divisor of 20. So there are 4 integers, matching choice (D).
💡Key takeaway

Rewrite the fraction as n = 20 minus 20/(k squared + 1); then k squared + 1 only has to be a divisor of 20, which happens just for k = 0, 1, 2, 3, giving four values of n.

  • Where the fraction can be a square
  • Name the square and solve for n
  • Turn it into a divisibility test
  • List the divisors and keep the squares
  • Read off n and count