So McDonald's sold its nuggets in packs of 9 and 20. Math enthusiasts were curious to find the largest number of nuggets that could not have been bought with these packs. It turns out this is 151 and there is a theorem ( called Chicken McNugget theorem) that can prove this. Google it,if interested!
I am more interested in trying to find a way on checking that it is possible up to 150. Clearly, i could use a spreadsheet and systematically check all cases but is there another way?
So for example, is it possible to get 46
This would mean 9a+20b = 46 for some positive integer a, b ? Do i just guess?
I am more interested in trying to find a way on checking that it is possible up to 150. Clearly, i could use a spreadsheet and systematically check all cases but is there another way?
So for example, is it possible to get 46
This would mean 9a+20b = 46 for some positive integer a, b ? Do i just guess?