AMC 10 · 2020 · #22
Grade 6 number-theoryPick an answer.
AMC 10 2020 problem © Mathematical Association of America (MAA AMC). Reproduced for educational use.
Tool #9 (Easier Problem): try small n (1, 2, 3, 6, 7, 8, ...) by hand to see when the three floors agree vs. differ. Tool #5 (Pattern): the three floors agree unless a multiple of n lands at 999 or 1000 — a clean trigger condition. Tool #16 (Complement): instead of counting non-multiples of 3 directly, identify exactly which n break the all-equal pattern (only divisors of 999 or 1000 can). Tool #2 (Systematic List): list divisors of 999 and 1000. Tool #3 (Eliminate Possibilities): catch the n=1 corner case that satisfies the rule but is actually divisible.
Hand-test small n: n = 7 gives three equal floors, sum divisible by 3; but n = 8 makes them jump to 124, 124, 125, sum 373 — not divisible.
Hand-compute a few cases — see that floors agree unless n "hits" 999 or 1000 on the nose.
6.NS.B.2Solve An Easier Related ProblemWriting 999 = nq + r, the floors all equal q unless r = 0 or n-1 — so the sum avoids a multiple of 3 exactly when n divides 999 or 1000.
The three floors split into a clean pattern indexed by the remainder of 999 mod n.
6.NS.B.2Look For A PatternCorner case n = 1: S(1) = 998 + 999 + 1000 = 2997 = 3 · 999, divisible by 3 — so n = 1 fails despite dividing both.
n=1 is the only common divisor — and it sneaks past the rule.
3.OA.B.5Eliminate PossibilitiesFactor 999 = 3³ · 37, giving (3+1)(1+1) = 8 divisors; factor 1000 = 2³ · 5³, giving (3+1)(3+1) = 16 divisors.
Standard divisor formula on the prime factorizations.
6.NS.B.4Make A Systematic ListBy inclusion-exclusion the union has 8 + 16 - 1 = 23 divisors (they share only 1); removing the broken n = 1 leaves 22 values — answer (A).
Inclusion-exclusion on the two divisor lists; then peel off the broken n=1.
6.NS.B.4Count The ComplementThis AMC 10 problem only needs Grade 6 divisibility and divisor counting you already know — the three floors only "break" their pattern when n divides 999 or 1000, and counting those divisors (8 + 16 - 1 overlap) and subtracting the trick n=1 gives 22.