Skip to main content

1994 AIME Problem 11

Problem 11 of 15HarderNumber TheoryCombinatorics

Ninety-four bricks, each measuring 4′′×10′′×19′′,4''\times10''\times19'', are to be stacked one on top of another to form a tower 9494 bricks tall. Each brick can be oriented so it contributes 4′′,4'', 10′′,10'', or 19′′19'' to the total height of the tower. How many different tower heights can be achieved using all 9494 of the bricks?

Your answer

Integer from 0 to 999
Show solution

Solution

If bb bricks use height 1010 and cc use height 19,19, the total is 376+3(2b+5c),376+3(2b+5c), where b,c≥0b,c\geq0 and b+c≤94.b+c\leq94. For fixed c,c, the value v=2b+5cv=2b+5c runs by twos from 5c5c to 188+3c.188+3c. The even-cc intervals cover every even vv from 00 through 464,464, as well as 470,470, missing only 466466 and 468.468. The odd-cc intervals cover every odd vv from 55 through 461,461, as well as 465465 and 467,467, missing only 1,1, 3,3, 463,463, and 469.469. Thus there are 471−6=465471-6=465 distinct heights.
AoPS wiki

Tagged: Diophantine Equation · parity · counting integers in a range

More practice