Skip to main content

2008 AMC 12B Problem 5

Problem 5 of 25EasierNumber Theory

A class collects $50\$50 to buy flowers for a classmate who is in the hospital. Roses cost $3\$3 each, and carnations cost $2\$2 each. No other flowers are to be used. How many different bouquets could be purchased for exactly $50?\$50?

Answer choices

Show solution

Solution

Let rr be the number of roses and cc the number of carnations, so 3r+2c=503r + 2c = 50 with r,c0.r, c \ge 0. Because 2c2c and 5050 are even, 3r3r must be even, forcing rr to be even. The largest possible rr is 1616 (since 317>503 \cdot 17 \gt 50), so r{0,2,4,,16}.r \in \{0, 2, 4, \ldots, 16\}. That gives 99 values of r,r, each determining a bouquet. Thus, the correct answer is C.

More practice

Concepts: Diophantine Equation · parity

Problem text and solution from the LIVE past-contest archive. See also the AoPS wiki page for community solutions.