mcnuggets_test, a MATLAB code which calls mcnuggets(), which counts M(N), the number of 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 computer code and data files described and made available on this web page are distributed under the MIT license
mcnuggets, a MATLAB code which counts M(N), the number of ways a given number N of Chicken McNuggets can be assembled, given that they are only available in packages of 6, 9, and 20.