Take a test Sign in 中文
← Exercise 457 →
Search
Go to
{{searchResults.length}} {{searchResults.length === 1 ? 'result' : 'results'}} for “{{searchWords}}” No results found for “{{searchWords}}” × back to contents
Contents · by chapter
Basic Counting (147)
Balls in Boxes (6)
Probability (142)

Exercises and their solutions

Exercise 457
Claudia has $15$ coins, each of which is a $5$-cent coin or a $25$-cent coin. There are exactly $47$ different values that can be obtained as combinations of one or more of her coins. How many $25$-cent coins does Claudia have?
← Back to Problem 457
Solution
  1. Let Claudia have $x$ $5$-cent coins and $y$ $25$-cent coins, $x+y=15$. Measure all amounts in units of $5$ cents, so a $5$-cent coin is worth $1$ and a $25$-cent coin is worth $5$; the largest amount is $x+5y$.
  2. If $x\ge4$, every amount from $1$ to $x+5y$ can be made: use as many $25$-cent coins as possible, and the remainder is at most $4$ (or at most $x$ once the $25$-cent coins run out), so the $5$-cent coins cover it. For example, with $x=4$, $y=2$, the amounts $1,2,3,4$ use only $5$-cent coins, $5,\dots,9$ use one $25$-cent coin, and $10,\dots,14$ use two. So there are $x+5y=15+4y$ values.
  3. If $x\le3$, the $5$-cent coins can never make up a $25$-cent coin, so the amounts $i+5j$ ($0\le i\le x$, $0\le j\le y$, not both $0$) are all different: $(x+1)(y+1)-1$ values. For $x=3,2,1,0$ this gives $51$, $41$, $29$, $15$, none of which is $47$.
  4. So $x\ge4$ and $15+4y=47$, giving $y=8$ (and $x=7\ge4$). Claudia has $\boxed{8}$ $25$-cent coins.
  5. Note that the shortcut alone is not enough: $51$ values occur both for $y=9$ (from $15+4y$) and for $y=12$ (from $4\cdot13-1$), so the case $x\le3$ really must be checked.
Search Go to Prev      Next

Contact Us

Thanks! Your message has been sent.
By year