麥樂雞塊數是一個正整數,它可以透過將麥當勞®麥樂雞塊TM(在食用前)的份數相加得到,最初麥樂雞塊以 6、9 和 20 塊裝的盒子出售 (Vardi 1991, pp. 19-20 和 233-234; Wah and Picciotto 1994, p. 186)。除了 1, 2, 3, 4, 5, 7, 8, 10, 11, 13, 14, 16, 17, 19, 22, 23, 25, 28, 31, 34, 37 和 43 之外,所有整數都是麥樂雞塊數。因此,數值 43 對應於 Frobenius 數 of
。
由於現在可以單獨購買快樂兒童餐TM尺寸的雞塊盒(每盒 4 塊),現代麥樂雞塊數是 4、6、9 和 20 的線性組合。這些新式的數字遠不如以前有趣,只有 1、2、3、5、7 和 11 仍然是非麥樂雞塊數。因此,數值 11 對應於 Frobenius 數 of
。
貪婪演算法可以用來找到給定整數
的麥樂雞塊展開式。這也可以在 Wolfram Language 中使用FrobeniusSolve[
6, 9, 20
, n]。下表總結了小整數的(經典)麥樂雞塊展開式。
 | 麥樂雞塊展開式 |
| 6 |  1,0,0  |
| 9 |  0,1,0  |
| 12 |  2,0,0  |
| 15 |  1,1,0  |
| 18 |  0,2,0 , 3,0,0  |
| 20 |  0,0,1  |
| 21 |  2,1,0  |
| 24 |  1,2,0 , 4,0,0  |
| 26 |  1,0,1  |
| 27 |  0,3,0 , 3,1,0  |
| 29 |  0,1,1  |
| 30 |  2,2,0 , 5,0,0  |
另請參閱
找零問題,
完全序列,
Frobenius 數,
貪婪演算法,
郵票問題
使用 探索
參考文獻
Vardi, I. Computational Recreations in Mathematica. Reading, MA: Addison-Wesley, pp. 19-20 and 233-234, 1991.
Wagon, S. "Greedy Coins." http://library.wolfram.com/infocenter/MathSource/5187/.Wah, A. and Picciotto, H. Lesson 5.8, Problem 1 in Algebra Themes, Tools and Concepts. Mountain View, CA: Creative Publications, p. 186, 1994.Wilson, D. rec.puzzles newsgroup posting, March 20, 1990.在 中被引用
麥樂雞塊數
引用為
Weisstein, Eric W. "麥樂雞塊數。" 來自 —— 資源。 https://mathworld.tw/McNuggetNumber.html
主題分類