AMC 10 to AIME Practice: Count Nonnegative Triples Without Ignoring the Upper Bound

Preparing for a possible move from AMC 10 toward AIME can include writing a complete count before looking for a shortcut. In this original exercise, nonnegative integers x, y and z satisfy x+y+z=10, and each is at most 5. How many ordered triples work? This is not an official contest problem.

Need help choosing a next step? Scan the contact QR code below or contact Hanlin on WeChat. Send AMC10-BOUNDS-1104 and tell us your school year and question.

Use the bound to organise small cases

Fix x and consider y+z=10-x. When x=0, the only permitted pair is (5,5). When x=1, the pairs are (4,5) and (5,4). Continuing through x=5 gives 1, 2, 3, 4, 5 and 6 pairs.

The total is 21. We count ordered triples, so exchanging y and z generally creates a different solution. This direct list also gives an independent check on a more compact argument.

First count without the upper bound

Without x,y,z ≤ 5, the number of nonnegative solutions is C(12,2)=66. One way to justify this is to arrange ten identical marks and two separators; the numbers of marks in the three regions are x, y and z.

Empty regions are allowed because zero is allowed. The count would change if the variables had to be positive. Translating that single word correctly is part of the solution, not an administrative detail.

Subtract forbidden cases and check intersections

If x is at least 6, write x'=x-6. Then x'+y+z=4 has C(6,2)=15 nonnegative solutions. The same count applies when y or z is at least 6.

Two variables cannot both be at least 6, because their sum alone would be at least 12, exceeding 10. Thus these forbidden sets do not overlap here. Subtracting gives 66-3×15=21, in agreement with the direct case count.

Explain why the overlap check is essential

If the target total were larger, two variables might exceed the upper bound together. Subtracting each forbidden set would then remove those solutions twice, requiring an inclusion-exclusion correction. The shortcut works here because of the actual bound and total, not because forbidden events are always disjoint.

For a progression review, write a short proof that every valid triple appears once and every forbidden triple is removed once. This develops a habit useful beyond multiple-choice practice. It does not establish AIME qualification; use the MAA's current official information for invitation rules and results. When asking about a next learning step, share the counting method and the precise stage where cases were lost or repeated.

Continue reading: AMC 10 Number Theory: Count Divisors by Choosing Prime Exponents.

Contact Hanlin

Planning a first attempt or reviewing a topic you find difficult? Scan the QR code and send AMC10-BOUNDS-1104. Include your school year, country or competition region, experience and the question you want to discuss.

Scan to contact Hanlin on WeChat. Send AMC10-BOUNDS-1104.

Contact Hanlin on WeChat

On your phone, use the button or save the QR image and scan it within WeChat.

Official information and further reading: Source 1

Online Customer Service
Contact Customer Service