Maths Olympiad Prep

Library / Macedonian Mathematical Competitions /66 of 73

Macedonian Mathematical Competitions

Algebra Difficulty 6.0 AIME, harder Prove it North Macedonia

Ilina ate 15\frac{1}{5} plus three of the candies from the bag. From the remaining candies she ate 15\frac{1}{5} plus five the next day. The third day she ate the remaining 15 candies. How many candies were there in the bag in the beginning?

Solution

Let xx be the number of candies in the bag in the beginning. Then Ilina ate 15x+3\frac{1}{5}x + 3 during the first day and there were 45x−3\frac{4}{5}x - 3 candies left. During the second day Ilina ate 15(45x−3)+5\frac{1}{5}(\frac{4}{5}x - 3) + 5 and the third day she ate the remaining 15 candies. Hence
15x+3+15(45x−3)+5+15=x. \frac{1}{5}x + 3 + \frac{1}{5}(\frac{4}{5}x - 3) + 5 + 15 = x.
Expanding:
15x+3+425x−35+5+15=x \frac{1}{5}x + 3 + \frac{4}{25}x - \frac{3}{5} + 5 + 15 = x
Combine like terms:
(15x+425x)+(3−35+5+15)=x \left(\frac{1}{5}x + \frac{4}{25}x\right) + (3 - \frac{3}{5} + 5 + 15) = x
525x+425x=925x \frac{5}{25}x + \frac{4}{25}x = \frac{9}{25}x
3−35+5+15=(3+5+15)−35=23−35 3 - \frac{3}{5} + 5 + 15 = (3 + 5 + 15) - \frac{3}{5} = 23 - \frac{3}{5}
So:
925x+23−35=x \frac{9}{25}x + 23 - \frac{3}{5} = x
Move all terms to one side:
925x+23−35−x=0 \frac{9}{25}x + 23 - \frac{3}{5} - x = 0
925x−x=−1625x \frac{9}{25}x - x = -\frac{16}{25}x
So:
−1625x+23−35=0 -\frac{16}{25}x + 23 - \frac{3}{5} = 0
−1625x=35−23 -\frac{16}{25}x = \frac{3}{5} - 23
−1625x=3−1155=−1125 -\frac{16}{25}x = \frac{3 - 115}{5} = -\frac{112}{5}
Multiply both sides by −1-1:
1625x=1125 \frac{16}{25}x = \frac{112}{5}
Multiply both sides by 2525:
16x=25×1125=5×112=560 16x = 25 \times \frac{112}{5} = 5 \times 112 = 560
16x=560 16x = 560
x=35 x = 35
So, there were 3535 candies in the bag in the beginning.

Want a route through all this instead of an archive? The track puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.