An optimal algorithm for a parallel cutting problem. (Q2715973)
From MaRDI portal
| This is the item page for this Wikibase entity, intended for internal use and editing purposes. Please use this page instead for the normal view: An optimal algorithm for a parallel cutting problem. |
scientific article; zbMATH DE number 1600945
| Language | Label | Description | Also known as |
|---|---|---|---|
| English | An optimal algorithm for a parallel cutting problem. |
scientific article; zbMATH DE number 1600945 |
Statements
20 July 2005
0 references
celery
0 references
knife
0 references
cake cutting
0 references
minimum number of cuts
0 references
integer partition
0 references
An optimal algorithm for a parallel cutting problem. (English)
0 references
Several sticks of celery with various integer lengths are to be cut into pieces of unit length by a knife that can cut at most \(w\) sticks at a time. What is the minimum number of cuts to do it and by what procedure it can be achieved? The authors prove that the following algorithm is optimal: at each stage cut the \(w\) longest sticks (or all sticks longer than 1 if there are fewer than \(w\) of them) in half or as nearly in half as possible. Example: \(w=3\) and the sticks are \(9,6\). One obtains \(5,4,3^2\) by cut one, \(3^2,2^4,1\) by cut two, \(2^5,1^5\) by cut three, \(2^2, 1^{11}\) by cut four, and \(1^{15}\) by cut five.
0 references