AIME · counting with a swap and its fixed points
Remove fixed cases before using symmetry
Count positive triples by cutting a row of counters, find the triples a swap leaves unchanged, and pair the rest. Then recount by fixing one entry, which also shows when a swap argument breaks.
Step 1 · Gaps
Cut a row of counters in two different gaps
A positive triple with total n is a row of n counters cut into three nonempty groups. The cuts must go in two different gaps between neighboring counters, and each pair of gaps gives exactly one triple.
Cut · two cuts in different gaps make three nonempty groups
Move the two cut sliders and read the triple. Put a cut at 0 or n, or put both cuts in one gap, and an entry becomes 0. The two tempting presets show the extra choices that a nonnegative formula or an ordered choice of cuts would count.
Your turn
The worked examples for this step open after you solve the checkpoint or use both hints.
Read the complete lesson explanation
Swapping the first two entries of an ordered triple exchanges the conditions a<b and a>b. This suggests a symmetry argument, but the triples with a=b do not move to the other side. We need to remove those fixed cases before halving the count. The point of the method is to prove the pairing, rather than assume that any inequality selects half of a set.
Count all positive triples first
For a+b+c=20 with every entry positive, imagine twenty identical counters in one row. Choose two different gaps among the nineteen gaps between adjacent counters. The cuts separate the row into three nonempty groups, whose lengths are a, b and c in order. Every positive ordered triple determines those same two gaps, so the construction is reversible.
There are C(19,2)=19×18/2=171 choices. Choosing gaps between counters, rather than positions at the ends, enforces positivity. Using a nonnegative-composition formula would count triples containing zero and change the problem.
Find the triples that the swap leaves unchanged
The swap (a,b,c)→(b,a,c) fixes exactly the triples with a=b. For these, c=20−2a must remain positive. Thus a may be 1,2,…,9, giving nine fixed triples. The value a=10 would force c=0, so it is excluded. No other triples can be fixed because swapping unequal first entries changes their order.
Remove those nine triples from the total. Among the remaining 162, the swap has no fixed cases and applying it twice returns the original triple. Consequently the triples form pairs, each containing one with a<b and one with a>b. Exactly one member of each pair satisfies the requested inequality, so the answer is 162/2=81. Halving 171 directly would not even give an integer, which warns that some cases were left unmatched.
Check the answer by a different organization
We can also fix a. For c to be positive and b>a, the allowed values of b are a+1 through 19−a. Their number is 19−2a, and this is positive precisely for a=1,…,9. The resulting counts are 17,15,13,11,9,7,5,3,1, whose sum is 81. This second count checks both the strict inequality and the positive last entry without using the swap argument.
The same reasoning works for total 21: there are C(20,2)=190 positive ordered triples, and a=b permits a=1,…,10. Removing those ten and halving gives 90. Before using symmetry in a new problem, check that the proposed swap preserves every stated restriction. A separate upper bound on a that does not also apply to b could break the pairing. Then identify exactly the objects unchanged by the swap; those cases determine what must be removed before division.