DR.WANG Mathematics中文
AMC 10 / AIME · Intermediate · Original practice

Drawing three cards modulo three

Twelve cards are labeled 1 through 12. How many unordered selections of three distinct cards have a sum divisible by 3?

Hint

The three residues modulo 3 must be all equal or all different.

Show answer and methods 2 methods

Answer

76

Method 1 Count residue patterns

Each residue class has four cards. Taking one card from every class gives 4^3 = 64 selections. Taking all three from one class gives 3 times 4 = 12 selections. A pattern with exactly two equal residues cannot sum to zero modulo 3. The total is 76.

Method 2 Count ordered draws and remove coincidences

Allow repeats and order the draws. The first two cards can be any of 12 each, and four labels then give the required third residue: 576 ordered triples. For any specified pair of positions to agree, choose its common label in 12 ways and the remaining label in 4 ways, giving 48. Two coincidence conditions force all three labels to agree; all 12 such triples work. Inclusion-exclusion therefore leaves 576 - 3(48) + 3(12) - 12 = 456 distinct-label triples. Each unordered selection has six orders, giving 456/6 = 76.