一种在给定形状的棋盘上玩的游戏,棋盘上有许多孔,最初除了一个孔外,其余的孔都用木钉填满。目标是移除除一个以外的所有木钉,方法是将木钉从一个被占用的木钉孔的一侧跳到空白处,移除被跳过的木钉。
最常见的配置之一是带有 33 个孔的十字形棋盘。除了中间的孔外,所有孔最初都用木钉填满。Gosper等人(1972 年)讨论了策略和对称性。Berlekamp等人(1982 年)给出了这个谜题的完整解决方案。
还有一种三角形变体,有 15 个孔(其中 15 是第 5 个三角形数 )和 14 个木钉(Beeler 1972 年)。将三角形顶点的孔编号为 1,然后从上到下,从左到右依次编号,下表给出了移除单个木钉后可能的结束孔(Beeler 1972 年)。由于对称性,只需要考虑前五个木钉。同样由于对称性,移除木钉 2 等同于移除木钉 3 并水平翻转棋盘。Bell(2008 年)调查了这个问题,这个问题可以追溯到 Smith(1891 年)。Bell 给出了这个问题可解的必要和充分条件以及一个简单的求解算法。
移除 | 可能的结束木钉 |
1 | 1, , 13 |
2 | 2,
6, 11, 14 |
4 | , 4, 9, 15 |
5 | 13 |
Kraitchik(1942 年)考虑了一种在中心直角顶点处放置一个额外孔的棋盘。
另请参阅
跳棋,
康威的士兵
在 Wolfram|Alpha 上探索
参考文献
Beasley, J. D. The Ins and Outs of Peg Solitaire. Oxford, England: Oxford University Press, 1992.Beeler, M. Item 76 in Beeler, M.; Gosper, R. W.; and Schroeppel, R. HAKMEM. Cambridge, MA: MIT Artificial Intelligence Laboratory, Memo AIM-239, p. 29, Feb. 1972. http://www.inwap.com/pdp10/hbaker/hakmem/games.html#item76.Bell, G. I. "Solving Triangular Peg Solitaire." J. Integer Seq. 11, Article 08.4.8, 1-21, 2008.Berlekamp, E. R.; Conway, J. H; and Guy, R. K. Ch. 23 in Winning Ways for Your Mathematical Plays, Vol. 2: Games in Particular. London: Academic Press, 1982.Chang, E.; Phillips, S. J.; and Ullman, J. D. "A Programming and Problem Solving Seminar." Stanford University Technical Report CS-TR-91-1350, February 1991. http://elib.stanford.edu.de Vreught, H. "Hi-q." http://rec-puzzles.org/new/sol.pl/competition/games/hi-q.Gardner, M. "Peg Solitaire." Ch. 11 in The Unexpected Hanging and Other Mathematical Diversions. New York: Simon and Schuster, pp. 122-135 and 250-251, 1969.Gosper, R. W.; Brown, S.; and Rayfield, M. Item 75 in Beeler, M.; Gosper, R. W.; and Schroeppel, R. HAKMEM. Cambridge, MA: MIT Artificial Intelligence Laboratory, Memo AIM-239, pp. 28-29, Feb. 1972. http://www.inwap.com/pdp10/hbaker/hakmem/games.html#item75.Guy, R. K. "Unsolved Problems in Combinatorial Games." In Games of No Chance, Proc. MSRI Workshop on Combinatorial Games, July, 1994 (Ed. R. J. Nowakowski.) Cambridge, England: Cambridge University Press, 1998.Hopcroft, J. E. and Ullman, J. D. Introduction to Automata Theory, Languages, and Computation, 2nd ed. Reading, MA: Addison-Wesley, 2000.Kraitchik, M. "Peg Solitaire." §12.19 in Mathematical Recreations. New York: W. W. Norton, pp. 297-298, 1942.Manna, Z. Mathematical Theory of Computation. New York: McGraw-Hill, 1974.Moore, C. and Eppstein, D. "One-Dimensional Peg Solitaire, and Duotaire." Working Paper 00-09-050. Sante Fe Institute. http://www.santafe.edu/sfi/publications/Working-Papers/00-09-050.ps.gz."Peg.solitaire." http://rec-puzzles.org/new/sol.pl/competition/games/peg.solitaire.Ravikumar, B. "Peg-Solitaire, String Rewriting Systems and Finite Automata." Proc. 8th Int. Symp. Algorithms and Computation. New York: Springer-Verlag, pp. 233-242, 1997.Smith, H. "Puzzle." US Patent #462, 170, 1891.Uehara, R. and Iwata, S. "Generalized Hi-Q is NP-Complete." Trans IEICE E73, 270-273, 1990.在 Wolfram|Alpha 上引用
peg solitaire
请引用为
Weisstein, Eric W. "Peg Solitaire." 来自 MathWorld--Wolfram Web 资源。 https://mathworld.net.cn/PegSolitaire.html
主题分类