Lazy caterer's sequence
The lazy caterer's sequence, more formally known as the central polygonal numbers, describes the maximum number of pieces of a circle (a pancake or pizza is usually used to describe the situation) that can be made with a given number of straight cuts. For example, three cuts across a pancake will produce six pieces if the cuts all meet at a common point, but seven if they do not. This problem can be formalized mathematically as one of counting the cells in an arrangement of lines; for generalizations to higher dimensions, see arrangement of hyperplanes.
The analogue of this sequence in 3 dimensions is the cake number.
Formula and sequence
The maximum number p of pieces that can be created with a given number of cuts n, where n ≥ 0, is given by the formula
Using binomial coefficients, the formula can be expressed as
Each number equals 1 plus a triangular number.
When a circle is cut n times to produce the maximum number of pieces, represented as p = ƒ(n), the nth cut must be considered; the number of pieces before the last cut is ƒ(n − 1), while the number of pieces added by the last cut is n.
To obtain the maximum number of pieces, the nth cut line should cross all the other previous cut lines inside the circle, but not cross any intersection of previous cut lines. Thus, the nth line itself is cut in n − 1 places, and into n line segments. Each segment divides one piece of the (n − 1)-cut pancake into 2 parts, adding exactly n to the number of pieces. The new line can't have any more segments since it can only cross each previous line once. A cut line can always cross over all previous cut lines, as rotating the knife at a small angle around a point that is not an existing intersection will, if the angle is small enough, intersect all the previous lines including the last one added.
Thus, the total number of pieces after n cuts is
This recurrence relation can be solved. If ƒ(n − 1) is expanded one term the relation becomes
Expansion of the term ƒ(n − 2) can continue until the last term is reduced to ƒ(0), thus,
Since , because there is one piece before any cuts are made, this can be rewritten as
This can be simplified, using the formula for the sum of an arithmetic progression:
- Moore, T. L. (1991), Using Euler's formula to solve plane separation problems, The College Mathematics Journal (Mathematical Association of America) 22 (2): 125–130, doi:10.2307/2686448, JSTOR 2686448.
- Steiner, J. (1826), Einige Gesetze über die Theilung der Ebene und des Raumes ("A Few Statements about the Division of the Plane and of Space"), J. Reine Angew. Math. 1: 349–364.
- Wetzel, J. E. (1978), On the division of the plane by lines, American Mathematical Monthly (Mathematical Association of America) 85 (8): 647–656, doi:10.2307/2320333, JSTOR 2320333.