2011 AIME I Problem 5
Problem 5 of 15EasierNumber TheoryCombinatorics
The vertices of a regular nonagon (-sided polygon) are to be labeled with the digits through in such a way that the sum of the numbers on every three consecutive vertices is a multiple of Two acceptable arrangements are considered to be indistinguishable if one can be obtained from the other by rotating the nonagon in the plane. Find the number of distinguishable acceptable arrangements.
Your answer
Integer from 0 to 999
Show solution
Solution
Two overlapping triples of consecutive vertices share two labels, so their sums differ by labels three positions apart. Since all triple sums are multiples of labels three apart are congruent mod Thus the position classes each carry a single residue class of digits, and the digits through consist of exactly three digits from each residue class mod
Every triple of consecutive positions then contains one digit from each residue class, with sum so all assignments of residue classes to position classes are acceptable, and within each position class the three digits can be arranged in ways. That gives acceptable labelings.
Because the digits are distinct, no nontrivial rotation fixes a labeling, so the labelings split into rotation classes of size giving distinguishable arrangements.
Tagged: modular arithmetic · circular arrangements · multiplication principle