- TeX source:
- \text { numCoins }=\min \left\{\begin{array}{l}1+\text { numCoins }(\text { originalamount }-1) \\1+\text { numCoins }(\text { originalamount }-5) \\1+\text { numCoins }(\text { originalamount }-10) \\1+\text { numCoins }(\text { originalamount }-25)\end{array}\right.