arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.09447math.COcs.DM
收藏

排序一叠烧焦煎饼所需的确切翻转次数

Exact number of flips required to sort a burnt stack of pancakes

Gerold Jäger, Nacim Oijid

AI总结:

本文研究烧焦煎饼问题,通过构造翻转序列,证明当n≡1 mod 4时T(n)的上界为⌊(3n+3)/2⌋,与已知下界匹配,从而确定该值为精确值;同时指出偶数n的情况仍为开放问题。

摘要:

在这项工作中,我们考虑烧焦煎饼问题,这是一个可追溯到1979年Gates和Papadimitriou工作的经典问题。该问题是通过一系列顶部煎饼的翻转,对一叠n个大小不同、单面烧焦的煎饼进行排序,使得翻转序列结束时煎饼大小递增且所有煎饼的烧焦面朝下。煎饼用1,2,…,n表示,如果对应煎饼的烧焦面朝上,则该数乘以-1。设T(n)为排序特殊煎饼叠I_n := [-1,-2,...,-n]所需的最小翻转次数。实例I_n因其简单结构以及已被证明对几个小n是最坏情况实例而具有重要相关性。Heydari和Sudborough在1997年给出了T(n)目前最好的上界,即当n≡3 mod 4时上界为⌊(3n+3)/2⌋,后来在2011年被Cibulka的工作证明是精确的。除了这两项工作,至今没有关于上下界的进展。在我们的工作中,我们证明⌊(3n+3)/2⌋也是n≡1 mod 4时T(n)的上界,这再次匹配Cibulka在2011年的下界,因此是精确的。此外,我们表明我们针对n≡1 mod 4的构造方法和Heydari与Sudborough针对n≡3 mod 4的构造方法不能应用于偶数n。然而,由于可能存在不同的构造方法,偶数n的情况仍然是一个开放问题,其中T(n)可能有两个可能的值,即(3/2)n+1或(3/2)n+2。最后,我们发现了两个值n=24和n=26,其中下界被达到。

英文摘要:

In this work, we consider the burnt pancake problem, which is a well-studied problem going back to a work of Gates and Papadimitriou from 1979.The problem is to sort a stack of~$n$ one-sided burnt pancakes of different sizes, by a sequence of flips of the top pancakes, such that at the end of the flipping sequence the pancakes have increasing size and the burnt sides of all pancakes are face-down. The pancakes are denoted by $ 1,2,\dots,n$, and a number is multiplied by $-1$, if the corresponding pancake has burnt side face-up. Let $T(n)$ be the minimum number of flips to sort a special stack of $n$ pancakes, namely $\overline{I_n} := [-1,-2,...,-n]$. The instance $\overline{I_n} $ has strong relevance because of its easy structure and as it has been shown to be a worst-case instance for several small $n$. Heydari and Sudborough gave in 1997 the currently best upper bound of $T(n)$, namely $ \lfloor (3n+3)/2 \rfloor $ for $ n \equiv 3 \bmod 4$, which later has been shown to be exact by a work of Cibulka from 2011. Except these two works, no progress regarding lower and upper bounds has been made until now. In our work, we present that $ \lfloor (3n+3)/2 \rfloor $ is also an upper bound of $T(n)$ for $n \equiv 1 \bmod 4 $, which again matches the lower bound of Cibulka in 2011 and thus is exact. Furthermore, we show that our construction approach for $n \equiv 1 \bmod 4 $ and the one of Heydari and Sudborough for $n \equiv 3 \bmod 4 $ cannot be applied for even $n$. However, as there might be different construction approaches, the case of even $n$ remains an open problem, where two possible values for $T(n)$ are possible, namely $ (3/2)n + 1 $ or $ (3/2)n + 2 $. Finally, we found two values, namely $n=24$, $n=26$, where the lower bound is attained.

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

↑