🇺🇸 AMC 8 ⇄ switch contest
2008 AMC 8

Problem 22

Problem 22 · 2008 AMC 8 Medium
Number Theory range-of-integers

For how many positive integer values of n are both n3 and 3n three-digit whole numbers?

Show answer
Answer: A — 12.
Show hints
Hint 1 of 2
For n/3 to even be a whole number, n must be a multiple of 3 — so write n = 3x and both conditions become conditions on x.
Still stuck? Show hint 2 →
Hint 2 of 2
Two range conditions overlap; you only need the tighter (binding) one on each end, then count the integers in the survivor range.
Show solution
Approach: substitute n = 3x, then find the binding range
  1. Since n/3 must be a whole number, let n = 3x. Then n/3 = x and 3n = 9x, so we need both x and 9x to be three-digit: 100 ≤ x ≤ 999 and 100 ≤ 9x ≤ 999.
  2. The big number 9x is the squeeze: 9x ≤ 999 forces x ≤ 111, far tighter than x ≤ 999. The lower end is just x ≥ 100.
  3. So x runs 100, 101, …, 111 — that's 111 − 100 + 1 = 12 values.
  4. Why this transfers: when several inequalities pin a variable, keep only the strictest on each side; and counting integers from a to b inclusive is ba + 1 (don't forget the +1).
Mark: · log in to save