I would use the largest multiply of the larger number (5) without going over the sum (in this case 100) and then add on the largest multiple of the smaller number (2) still without going over the total sum and then figure out what z should be.
In you example, 5 goes evenly into 100 so the answer will 2*0 + 5*20 + 0 =100. So z=0
If you had 4k + 7k = 104 then figure out 1st how many times 7 goes into 104. That answer is 14. Now 7*14 is 98 which is 6 away from 104. That 6 can have just one 4 subtracted from it leaving 2 left over. That is 4*1 + 7*14 + 2 = 104, so z=2.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.