How many ways are there to make £20.17 by using only 1p, 5p and 10p coins?
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.
First let us consider the use of 1p coins. The number of 1p coins used must be n 1 p = 2 0 1 7 − 5 k , where k = 0 , 1 , 2 , . . . 4 0 3 and n 1 p = 2 , 7 , 1 2 , . . . 2 0 1 7 , a total of 403 ways. For each way or each k , there is a combination of 5p and 10p coins used or ( n 5 p , n 1 0 p ) . For example, when k = 0 , the only combination possible is ( n 1 p , n 5 p , n 1 0 p ) = ( 2 0 1 7 , 0 , 0 ) and the number of way is N 0 = 1 . We note that N k is the same as the number of ways to use 5p ( N 5 , k ) and that of 10p ( N 1 0 , k ). For k = 0 , N 5 , 0 = N 1 0 , 0 = 1 because there is one way of using 5p (use zero 5p) and using 10p (use zero 10p). The combinations and N k and N 1 0 , k of the first few k are given below to illustrate this point:
\(\begin{array} {} k = 0 & (2017,0,0) & N_0 = 1 & N_{10,0} = 1 \\ k = 1 & (2012,1,0) & N_1 = 1 & N_{10,1} = 1 \\ k = 2 & (2007,2,0), (2007,0,1) & N_0 = 2 & N_{10,2} = 2 \\ k = 3 & (2002,3,0), (2002,1,1) & N_3 = 2 & N_{10,3} = 2 \\ k = 4 & (1997,4,0), (1997,2,1), (1997,0,2) & N_4 = 3 & N_{10,4} = 3 \end{array} \)
Now, for a k , The number of ways to use 10p N 1 0 , k = N k = ⌊ 2 k ⌋ + 1 , where ⌊ ⋅ ⌋ denotes the floor function . Therefore, the total number of ways:
N = k = 0 ∑ 4 0 3 ( ⌊ 2 k ⌋ + 1 ) = 2 k = 1 ∑ 2 0 1 k + 4 0 4 = 2 0 1 × 2 0 2 + 4 0 4 = 4 1 0 0 6