Skip to main content

2009 AMC 10B Problem 1

Problem 1 of 25EasierAlgebraNumber Theory

Each morning of her five-day workweek, Jane bought either a 5050-cent muffin or a 7575-cent bagel. Her total cost for the week was a whole number of dollars. How many bagels did she buy?

Answer choices

Show solution

Solution

If Jane buys bb bagels, she buys 5b5-b muffins, for a total of 50(5b)+75b=250+25b 50(5-b)+75b = 250+25b cents. This is a whole number of dollars when 250+25b250+25b is a multiple of 100,100, that is, when 25b50(mod100),25b\equiv50\pmod{100}, or b2(mod4).b\equiv2\pmod4. The only value with 0b50\le b\le5 is b=2.b=2. Thus, the correct answer is B.

More practice

Concepts: modular arithmetic · money

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