arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1810.02202math.HOmath.NT
收藏

反转10硬币三角形难题和其他问题:一个新的通用解决方案

Inverting the 10-Coin Triangle Puzzle and Other Shapes: A New General Solution

Tony McCaffrey, Oscar Atwill

摘要:

这个谜题,通常被称为“反三角形谜题”,经常出现在益智书籍中。由第1行1枚硬币、第2行2枚硬币、第3行3枚硬币和第4行4枚硬币组成的四行形成三角形的形状。要使三角形翻转180度,使其指向相反的方向,您需要移动的最少硬币数是多少?在4行的情况下,它只需要移动3个硬币。对于任意数量的行,一般的解决方案可以通过将硬币的数量除以3并忽略任何余数来计算。一个4行的三角形有10个硬币,所以10/3 = 3.333导致3次移动。然而,这种计算是相当不直观的,为什么它的工作,并需要一个不优雅的策略,定期丢弃余数。在本文中,我们提出了一个更直观的公式,总是直接计算的答案,从来没有产生一个十进制的答案。此外,我们探索反转其他形状(例如,菱形),并找到一个有趣的连接到三角形的公式。

英文摘要:

This puzzle, often called the "Reverse the Triangle Puzzle," appears regularly in puzzle books. Four rows consisting of 1 coin in row 1, 2 coins in row 2, 3 coins in row 3, and 4 coins in row 4 form the shape of a triangle. What is the fewest number of coins you need to move to flip the triangle 180 degrees so that it points in the opposite direction? In the case of 4 rows, it requires moving just 3 coins. The general solution for any number of rows can be calculated by dividing the number of coins by 3 and ignoring any remainder. A triangle of 4 rows has 10 coins, so 10/3 = 3.333 leads to 3 moves. However, this calculation is fairly nonintuitive as to why it works and requires an inelegant maneuver of periodically discarding a remainder. In this paper, we present a more intuitive formula that always calculates the answer directly and never produces a decimal answer. Further, we explore inverting other shapes (e.g., rhombus) and find an interesting connection to the formula for triangles.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑