24-Dec-2022 15:32:57 mcnuggets_test(): MATLAB/Octave version 4.2.2 Test mcnuggets() mcnugget_solvable_test(): mcnugget_solvable() reports whether you can order exactly N chicken McNuggets when they only come in packages of 6, 9, and 20. N Solvable(N) 0 1 1 0 2 0 3 0 4 0 5 0 6 1 7 0 8 0 9 1 10 0 11 0 12 1 13 0 14 0 15 1 16 0 17 0 18 1 19 0 20 1 21 1 22 0 23 0 24 1 25 0 26 1 27 1 28 0 29 1 30 1 31 0 32 1 33 1 34 0 35 1 36 1 37 0 38 1 39 1 40 1 41 1 42 1 43 0 44 1 45 1 46 1 47 1 48 1 49 1 50 1 51 1 52 1 53 1 54 1 55 1 56 1 57 1 58 1 59 1 60 1 61 1 62 1 63 1 64 1 65 1 66 1 67 1 68 1 69 1 70 1 71 1 72 1 73 1 74 1 75 1 76 1 77 1 78 1 79 1 80 1 81 1 82 1 83 1 84 1 85 1 86 1 87 1 88 1 89 1 90 1 91 1 92 1 93 1 94 1 95 1 96 1 97 1 98 1 99 1 100 1 mcnugget_ways_test(): mcnugget_ways() reports the number of ways you can order exactly N chicken McNuggets when they only come in packages of 6, 9, and 20. N Ways(N) 0 1 1 1 0 0 2 0 0 3 0 0 4 0 0 5 0 0 6 1 1 7 0 0 8 0 0 9 1 1 10 0 0 11 0 0 12 1 1 13 0 0 14 0 0 15 1 1 16 0 0 17 0 0 18 2 2 19 0 0 20 1 1 21 1 1 22 0 0 23 0 0 24 2 2 25 0 0 26 1 1 27 2 2 28 0 0 29 1 1 30 2 2 31 0 0 32 1 1 33 2 2 34 0 0 35 1 1 36 3 3 37 0 0 38 2 2 39 2 2 40 1 1 41 1 1 42 3 3 43 0 0 44 2 2 45 3 3 46 1 1 47 2 2 48 3 3 49 1 1 50 2 2 mcnuggets_test(): Normal end of execution. 24-Dec-2022 15:32:58