mcnuggets_diophantine_test, a MATLAB code which calls mcnuggets_diophantine(), which determines the ways a given number N of Chicken McNuggets can be assembled, given that they are only available in packages of 6, 9, and 20.
The information on this web page is distributed under the MIT license.
mcnuggets_diophantine, a MATLAB code which determines the ways a given number N of Chicken McNuggets can be assembled, given that they are only available in packages of 6, 9, and 20.