I'm on PS2 , and i'm not able to understand the solving of Diophantine equation.I mean the point of six consecutive values.
it is 6 consecutive values only for this particular question.. it is pretty easy actually.. the lowest number of nuggets is 6 ..so when u get 6 consecutive values u can get all the numbers beyond that by just adding 6 to appropriate number.. -_- i admit i am not good at explaining things.. -_-
It's because the lowest possible package size of McNuggets is 6. Once you reach 6 consecutive integers that are possible combinations of McNuggets (with package sizes 6, 9, and 20), you can conclude that all integers beyond those are also possible combinations of McNuggets: all you would have to do is add multiples of 6 McNuggets to them to obtain any higher number of McNuggets. If the smallest possible package size was 7 McNuggets, then you would have to find the first 7 consecutive integers that are possible combinations using 7, 9, and 20. Once you find 7 consecutive, possible combinations of McNuggets, the next seven combinations could be obtained by simply adding 7 McNuggets to one of the first 7 combinations you found, and the next seven by simply adding 2*7, and so on to infinity.
^^ that is exactly what i meant to say..
Join our real-time social learning platform and learn together with your friends!