Exact number of flips required to sort a burnt stack of pancakes
Abstract
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~ 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 , and a number is multiplied by , if the corresponding pancake has burnt side face-up. Let be the minimum number of flips to sort a special stack of pancakes, namely . The instance has strong relevance because of its easy structure and as it has been shown to be a worst-case instance for several small . Heydari and Sudborough gave in 1997 the currently best upper bound of , namely for , 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 is also an upper bound of for , which again matches the lower bound of Cibulka in 2011 and thus is exact. Furthermore, we show that our construction approach for and the one of Heydari and Sudborough for cannot be applied for even . However, as there might be different construction approaches, the case of even remains an open problem, where two possible values for are possible, namely or . Finally, we found two values, namely , , where the lower bound is attained.
Cite
@article{arxiv.2601.09447,
title = {Exact number of flips required to sort a burnt stack of pancakes},
author = {Gerold Jäger and Nacim Oijid},
journal= {arXiv preprint arXiv:2601.09447},
year = {2026}
}