1998 AIME Problem 7

Attempt Problem 7 of the 1998 AIME below, then check your answer against the professionally curated solution from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 1998 AIME solutions, or check the answer key.

All problems are used with official legal permission of the Mathematical Association of America (MAA).

7.

Let nn be the number of ordered quadruples (x1,x2,x3,x4)(x_1, x_2, x_3, x_4) of positive odd integers that satisfy x1+x2+x3+x4=98.x_1 + x_2 + x_3 + x_4 = 98. Find n100.\frac{n}{100}.
Answer: 196
Concepts:stars and barssubstitutionparity
Small hint:
Substitute xi=2yi−1x_i = 2y_i - 1 to turn the odd variables into arbitrary positive integers
Big hint:
The new equation is y1+y2+y3+y4=51;y_1 + y_2 + y_3 + y_4 = 51; count its positive solutions with stars and bars
Solution:
Write xi=2yi−1x_i = 2y_i - 1 where each yiy_i is a positive integer. Then x1+x2+x3+x4=98x_1 + x_2 + x_3 + x_4 = 98 becomes 2(y1+y2+y3+y4)−4=98,2(y_1 + y_2 + y_3 + y_4) - 4 = 98, so y1+y2+y3+y4=51.y_1 + y_2 + y_3 + y_4 = 51.
By stars and bars, the number of solutions in positive integers is (503)=19600.\binom{50}{3} = 19600. Therefore n100=196.\frac{n}{100} = 196.
LIVE by Po-Shen Loh
Programs

LIVE Classes

Self-Paced Classes

Stars

Scholarship

About Us

Who Is Po-Shen Loh?

Email Contact

Newsletter

Jobs

Become a Star

For a more Thought Full world.

© 2026 Expii, Inc.