AMC 10 · 2014 · #7

Grade 7 number-theory
factorsdivisor-countdivisibility-rulessystematic-enumeration complementary-countingsystematic-enumeration ↑ Prerequisites: factors
📏 Medium solution 💡 3 insights
Problem
A fraction built from a number and its complement must itself be a whole number. Count the values.

Pick an answer.

(A)
4
(B)
5
(C)
6
(D)
7
(E)
8
How to solve
Strategy Change Focus / Count the Complement

Plugging in values of n one at a time finds examples but never proves the list is finished, so the plan has two jobs: bound the search, then make the test exact. Tool #14 (Extreme Principle) supplies the bound — the denominator must stay positive, which traps n between 1 and 29. Tool #16 (Change Focus) does the real work: stop watching n and watch the complement d=30-n instead, because n/(30-n)=30/d-1 turns the whole question into a single divisibility test on d. Tool #4 names that complement, and Tool #2 lists the divisors of 30 from its prime factorization, which guarantees the list is complete rather than merely long.

1STEP 1

Bound the search range

Positivity bounds the search.

n ≥ 1 and 30-n > 0 ⟹ 1 ≤ n ≤ 29
2STEP 2

Name the complement d

Naming the complement simplifies the fraction.

d=30-n, n=30-d, 1 ≤ d ≤ 29
3STEP 3

Rewrite the fraction using d

It becomes a constant over that complement.

n/(30-n)=(30-d)/d=30/d-1
4STEP 4

Turn it into a divisibility test

So the condition is a divisor test.

30/d-1inZ^+⇔ d ∣ 30 and d ≠ 30
5STEP 5

List the divisors and count

Counting divisors gives 7, choice (D).

30=2 · 3 · 5→ (1+1)(1+1)(1+1)=8 divisors; 8-1=7 → (D)
Answer
7
Test all seven directly: 15/15=1, 20/10=2, 24/6=4, 25/5=5, 27/3=9, 28/2=14, 29/1=29 — every one is a positive integer. Nothing outside the list survives: for n ≤ 14 the numerator is smaller than the denominator, so the value lies strictly between 0 and 1 and cannot be a whole number; for 15 ≤ n ≤ 29 not on the list, 30-n fails to divide 30; n=30 is undefined and n > 30 is negative. Exactly 7 values, matching (D). The choice (E) 8 is the natural trap — it counts d=30, which forces n=0, and 0 is not a positive integer.
💡Key takeaway

When a fraction has to come out whole, rewrite it so the bottom must divide one fixed number — then the answer is just a divisor count.

  • Bound the search range
  • Name the complement d
  • Rewrite the fraction using d
  • Turn it into a divisibility test
  • List the divisors and count