Now in this problem,
Let the no. of 10 dollar bills be x, 5 dollar bills be y, 2 dollar bills be z and 1 dollar bills be w.
According to question,
\(10x+5y+2z+w=20\) \(...(1)\)
In order to find no. of ways, we've to find no. of solutions eq. (1) has.
∴ By the theory of combinatrics,
No. of solutions \(=\left( \begin{array}{c} 20+4-1 \\ 4-1 \end{array} \right)\)
\(=\left( \begin{array}{c} 23 \\ 3 \end{array} \right)\)
\(=1771\)
∴ Eq. (1) has 1771 possible set of solutions.
Thus a $20 bill can be changed in 1771 possible ways.
~Amy