Worked solution
Fill increasing bags without exceeding the supply
Alice has sweets to divide into bags. She puts sweets in the first bag and more in each subsequent bag than in the preceding bag. She stops when there are not enough sweets to fill the next bag in the same manner. Find the number of sweets left behind.
[2008/AJC/Promo/5(a)]
CJC · Sequences and Series · Example 21 (Self-Reading)
Answer
sweets.
Compare your reasoning
Model the number used, not the size of one bag
The source identifies a=25,d=5. Its illustrated guidance emphasises formulating and solving the inequality.
Method 1: solve the quadratic inequality
The source uses the quadratic equation and an upward-opening parabola: the quadratic is nonpositive between its two roots. Keep exact roots until choosing the positive integer count.
Restrict the real solution to a bag count
The roots are approximately −48.548 and 39.548, as labelled in the source sketch. A filled-bag count is a positive integer, so the maximum is 39.
Method 2: use the calculator table
The source calls this graphical. Enter Y1=(X/2)(50+5(X−1)) and inspect integer X. Its adjacent values show that 39 bags fit and 40 do not.
Find the unused sweets
Both printed methods end with the same S39 calculation and subtraction.
Common mistakes
Use the greatest feasible whole bag count, then subtract the total already used. The leftover 120 is less than the next bag’s required 220.
Solution notes
The source writes the rounded interval −48.54≤n≤39.54 after showing roots near −48.548 and 39.548. Those truncated endpoints do not describe the exact real solution. The exact interval is retained in the working; the positive integer maximum 39 and the printed answer 120 are unchanged.