DR.WANG Mathematics中文

2021 AIME I · Question 4

Counting & combinatorics · partitions and compositions · stars and bars · symmetry · problem-solving

Problem outline

Count the positive integer triples a<b<ca<b<c with a+b+c=66a+b+c=66. They describe distributing 6666 identical coins into three nonempty piles in strictly increasing order of size.

Show answer and methods 2 methods

Answer

331

Method 1 Remove ties before dividing by permutations

Ignoring order restrictions, two dividers in the 6565 gaps between coins produce (652)=2080\binom{65}{2}=2080 positive ordered triples. With a=b=ta=b=t, the last entry is 66−2t>066-2t>0, giving 3232 choices. Each of the other two possible equalities occurs equally often.

The triple (22,22,22)(22,22,22) belongs to all three equality classes; every other triple with a repeated entry belongs to just one. Hence 3⋅32−2=943\cdot32-2=94 triples have a tie. Each set of three distinct sizes has 66 orderings and exactly one is increasing. The desired count is (2080−94)/6=331(2080-94)/6=331.

Method 2 Reflect lattice points across a rectangle's centre

Set i=a−1,j=b−a−1,k=c−b−1i=a-1,j=b-a-1,k=c-b-1. All three are nonnegative, and 3i+2j+k=603i+2j+k=60. Thus each admissible lattice point (i,j)(i,j) with 3i+2j≤603i+2j\le60 gives exactly one triple.

The surrounding rectangle 0≤i≤20, 0≤j≤300\le i\le20,\ 0\le j\le30 contains 21⋅31=65121\cdot31=651 lattice points. Its central reflection interchanges the two sides of the diagonal 3i+2j=603i+2j=60. On that diagonal ii must be even, giving 1111 points. Including the diagonal, the count is (651+11)/2=331(651+11)/2=331.

Source and attribution

The outline and worked methods on this page were prepared for DR.WANG Mathematics.

Original question (external)