Mrs. Walter gave an exam in a mathematics class of five students. She entered the scores in random order into a spreadsheet, which recalculated the class average after each score was entered. Mrs. Walter noticed that after each score was entered, the average was always an integer. The scores (listed in ascending order) were , , , , and . What was the last score Mrs. Walters entered?
- A)
- B)
- C)
- D)
- E)
Answer
C
Key insight
Integer averages mean the first k scores sum to a multiple of k; work backwards from the total 400 using mod 4, then mod 3.
Solution
An integer average after entries means the first scores sum to a multiple of . The five scores total .
Mod 4: the first four scores sum to a multiple of , and is a multiple of , so the last score is a multiple of : it is or .
Mod 3: the residues of are . The first three scores sum to a multiple of , so the fourth score's residue equals the residue of the first four scores' sum.
- If the last score is , the first four sum to , a multiple of , so the fourth score would have residue . No score does. Rejected.
- If the last score is , the first four sum to , so the fourth score has residue : it must be .
The remaining scores come first; they sum to , a multiple of , and is even, so the order (or with the first two swapped) satisfies every condition.
The answer is .
Why this works
"Average is an integer" is a divisibility statement in disguise. Working backwards from the known total, each divisibility condition constrains one more position; two residues (, then ) were enough here. Tagging note: the statistics language is superficial; the work is modular arithmetic.
The trap
Checking only the mod-4 condition (last score is 76 or 80) and guessing, instead of also using the mod-3 condition on the fourth score.
Common mistakes
- Checking only the mod-4 condition (last score is 76 or 80) and guessing, instead of also using the mod-3 condition on the fourth score.
- Forgetting to verify that a full valid order exists after the last two positions are forced.
Techniques
Split into exhaustive cases and handle each · Use an invariant, parity, or coloring argument · Start from the end state / desired conclusion and reverse