|
Search: id:A078942
|
|
|
| A078942 |
|
Flipping burnt pancakes. Given a sorted stack of n burnt pancakes of different sizes (smallest on top, ..., largest at the bottom), each with its burnt side up, a(n) is the number of spatula flips needed to restore them to their initial order but with the burnt sides down. |
|
+0 3
|
|
| 1, 4, 6, 8, 10, 12, 14, 15, 17, 18, 19, 21, 22, 23, 24, 26, 28, 29
(list; graph; listen)
|
|
|
OFFSET
|
1,2
|
|
|
COMMENT
|
In a 'spatula flip', a spatula is inserted below any pancake and all pancakes above the spatula are lifted and replaced in reverse order.
It is conjectured that this initial configuration is a worst case for the general problem of sorting burnt pancakes. If so, then this sequence is identical to A078941.
|
|
REFERENCES
|
David S. Cohen and Manuel Blum, "On the problem of sorting burnt pancakes", Discrete Applied Math., 61 (1995) 105-120.
|
|
FORMULA
|
a(n) <= A078941(n). a(n+1) <= a(n) + 2. 3n/2 <= a(n) <= 47n/30 + c for some constant c.
|
|
CROSSREFS
|
Cf. A078941, A058986.
Adjacent sequences: A078939 A078940 A078941 this_sequence A078943 A078944 A078945
Sequence in context: A134331 A090334 A078941 this_sequence A039767 A054023 A032583
|
|
KEYWORD
|
nonn,more
|
|
AUTHOR
|
Dean Hickerson (dean.hickerson(AT)yahoo.com), Dec 18 2002
|
|
|
Search completed in 0.002 seconds
|