Change For A Dollar

If you have infinite pennies ($0.01), nickels ($0.05), and dimes ($0.10), in how many different ways can you make change for $1.00?

Hint: Don't try to list all of the possibilities!


The answer is 121.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Eli Ross Staff
Oct 5, 2015

Let p , p, n , n, and d d be the number of pennies, nickels, and dimes, respectively, used when making change. We want to determine the number of non-negative integer solutions to p + 5 n + 10 d = 100. p + 5n + 10d = 100. The first thing we note is that the change from the pennies, p = 100 5 n 10 d = 5 ( 20 n 2 d ) , p = 100 - 5n- 10d = 5(20 - n- 2d), is divisible by 5. Thus, we write p = 5 P p = 5P where P P is a non-negative integer.

Our equation then becomes 5 P + 5 n + 10 d = 100 P + n + 2 d = 20. 5P+5n + 10d = 100 \quad \Rightarrow \quad P+n+2d = 20. It is straightforward to see that the number of dimes, d , d, can range from 0 to 10. Then, P + n = 20 2 d , P+n= 20-2d, so P P can be any of the ( 21 2 d ) (21-2d) values 0 , 1 , , 20 2 d 0,1,\ldots,20-2d at which point n n is uniquely determined as 20 2 d P . 20-2d-P.

Thus, the total number of ways to make change is d = 0 10 ( 21 2 d ) = 121. \sum_{d=0}^{10}\left(21-2d\right) = 121.

I figured that the solutions with no dimes is 21, and every dime added reduces that number by 2, so the answer is 1+3+5...+21=121

Avi Eisenberg - 5 years, 2 months ago

Why can't I figure out the number of ways to make change for a dime then use it as a permutation?

Meaning, for every 10 cents, you can either have a dime, two nickels, a nickel and five pennies, or ten pennies. 4 possibilities, 10 "slots" (to make them equal 100) means 4^10. I'm assuming it's wrong (it's not the given answer), but where is the reasoning wrong?

Nick Mendola - 5 years, 6 months ago

Log in to reply

Some of the possibilities you count several times.

Boris Vayner - 5 years, 5 months ago

Because making one 10cent out of two nickels and one 10 cent out of ten pennies is the same as making two 10cent out of one nickel and 5 pennies. 2 nickels and 10 pennies to make 20 cent will be counted twice. 10 nickels and 50 pennies to make 100cent will be counted many times.

Ragnhild Kjøsnes - 5 years, 4 months ago

How could you explain that P represent as 21-2d? Thanks

Imam Edogawa - 5 years, 3 months ago

This is my way: So I said: Let a=0.01, b=0.5, c=0.1 and n(c) how many dimes we have: n(c)=0: 0 b+100 a AND
1 b+95 a AND
. . . AND
20 b+0 a


Which is 21 different combinations. Then say that n(c)=1 and find that there are 18 combinations and each time n(c) increases by 1 the number of combinations decreases by 2 until we get to a place where n(c)=10. So we a get a sum S=1+3+5+7+9+....+21=(11^2+11+10^2+10)/2=121.

A Former Brilliant Member - 5 years, 5 months ago

I still don't get why it wouldn't allow me to have a lot or lots as an answer

Aidan Roberjot - 4 years, 5 months ago
K T
Aug 17, 2019

Let d be the number of dimes, and n the number of nickles. For any choice of d and n such that 0 10 d + 5 n 100 0 \le 10d+5n \le 100 , the dollar is completed by adding just enough pennies.

  • For d=0, we can choose n anywhere from 0 through 20 (21 ways)
  • For d=1, we can choose n anywhere from 0 through 18 (19 ways)
  • ...
  • For d=9, we can choose n=0, 1 or 2 ( 3 ways)
  • For d=10, the only option is to have n=0 (1 way)

The total number of ways then is 21 + 19 + . . . + 3 + 1 = 22 × 11 2 = 121 21+19+...+3+1=\frac{22×11}{2}=\boxed{121} ways.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...