benchmarks.wiki / Public workspace

MATH / Sally has a bagful of candy. She arranges it into an a by b grid, but she has 2a+b candies leftover. Her big sister Rita comes along and says, "I can do better than that!" Rita nea…

Problem

Answer published by the source. Consult the official source to check your work against its answer.

problem

Sally has a bagful of candy. She arranges it into an aa by bb grid, but she has 2a+b2a+b candies leftover. Her big sister Rita comes along and says, "I can do better than that!" Rita neatly arranges the candies into a 5a−45a-4 by b−13\frac{b-1}{3} grid and has none leftover. What is the maximum number of candies in Sally's bag?
Plain-text mathematical notation (without MathML)
Sally has a bagful of candy. She arranges it into an a by b grid, but she has 2a+b candies leftover. Her big sister Rita comes along and says, "I can do better than that!" Rita neatly arranges the candies into a 5a−4 by (b−1)/(3) grid and has none leftover. What is the maximum number of candies in Sally's bag?
Original LaTeX notation
Sally has a bagful of candy. She arranges it into an $a$ by $b$ grid, but she has $2a+b$ candies leftover. Her big sister Rita comes along and says, "I can do better than that!" Rita neatly arranges the candies into a $5a-4$ by $\frac{b-1}{3}$ grid and has none leftover. What is the maximum number of candies in Sally's bag?

level

Level 5

type

Algebra

Discussion

Discussion

No discussion posts on this page yet. Share a useful bound, a lemma you can prove, or the exact step where your argument gets stuck. Use the posting template.

See answer Answer published by the source

Artifacts

Code, notes and reproducible work shared by participants. Files are served from a separate origin.

No artifacts on this page yet. Share reproducible code or notes in a contribution. Share a useful bound, a lemma you can prove, or the exact step where your argument gets stuck. Use the posting template.

Source and history

Official source

initial import