2026 AIME II Problem 5

Below is the professionally curated solution for Problem 5 of the 2026 AIME II, from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2026 AIME II solutions, or check the answer key.

All of the real AMC 8, AMC 10, AMC 12, and AIME problems in our complete solution collection are used with official legal permission of the Mathematical Association of America (MAA).

Concepts:sampling without replacementcombinationsDiophantine Equation

Difficulty rating: 2390

5.

An urn contains nn marbles. Each marble is either red or blue, and there are at least 77 marbles of each color. When 77 marbles are drawn randomly from the urn without replacement, the probability that exactly 44 of them are red equals the probability that exactly 55 of them are red. Find the sum of the five least values of nn for which this is possible.

Solution:

Say there are rr red and bb blue marbles, r,b7.r, b \ge 7. The condition is (r4)(b3)=(r5)(b2).\binom{r}{4}\binom{b}{3} = \binom{r}{5}\binom{b}{2}. Since (r5)=(r4)r45\binom{r}{5} = \binom{r}{4}\frac{r-4}{5} and (b3)=(b2)b23,\binom{b}{3} = \binom{b}{2}\frac{b-2}{3}, cancelling gives b23=r45,that is,b=3r25.\frac{b - 2}{3} = \frac{r - 4}{5}, \qquad \text{that is,} \qquad b = \frac{3r - 2}{5}.

So r4(mod5),r \equiv 4 \pmod 5, and b7b \ge 7 requires 3r235,3r - 2 \ge 35, so r14.r \ge 14. The five smallest choices are r=14,19,24,29,34r = 14, 19, 24, 29, 34 with b=8,11,14,17,20,b = 8, 11, 14, 17, 20, giving n=22,30,38,46,54.n = 22, 30, 38, 46, 54.

The sum is 22+30+38+46+54=190.22 + 30 + 38 + 46 + 54 = 190.

← Problem 4Full ExamProblem 6

Problem 5 in Other Years