thumb|The number of and for first 6 terms of Moser's circle problem
Moser's circle problem asks how many regions a circle can be divided into by choosing <math>n</math> points along the circumference of the circle and joining each pair of points by a straight line. The greatest possible number of regions with <math>n</math> points is given by <math>r_G = { n \choose 4 } + { n \choose 2 } + 1</math>, resulting in the sequence 1, 2, 4, 8, 16, 31, 57, 99, 163, 256, ... . Though the first five terms match the geometric progression <math>2^{n-1}</math>, the two sequences differ for <math>n\ge 6</math>. As Leo Moser noted in 1949, this sequence demonstrates the risk of generalising from only a few observations.
Solution
For the number of regions to be maximized, no three diagonals should cross at the same point, for otherwise a small perturbation to the points would increase the number of regions. Triple crossings can always be avoided by choosing points one by one, starting from an empty set. At each step, only finitely many points of the circle belong to lines through one of the previously chosen points and through a crossing point of their diagonals. By avoiding this finite set of points, each successive point can be chosen in such a way that each crossing point is the crossing of only two diagonals. For any such sequence of choices, the number of regions is <math>\tbinom{n}{4}+\tbinom{n}{2}+1</math>, as detailed below.
By rotating the circle, it can be placed in a position in which no each of the regions has a unique topmost point (with maximum <math>y</math>-coordinate) and a unique bottommost point (with minimum <math>y</math>-coordinate), and in which neither the top nor the bottom point of the circle is one of the chosen points. After this rotation, if there are <math>r</math> regions, there are <math>2r</math> pairs of a region and one of its two extreme points.
Each subset of four chosen points form the endpoints of exactly one pair of crossing diagonals, and their crossings each form the topmost point of one region and the bottommost point of one region. Therefore, the diagonal crossings take part in <math>2\tbinom{n}{4}</math> pairs of a region and one of its extreme points. Each chosen point borders <math>n</math> regions, and is the topmost or bottommost point of all but one of them. Therefore, the chosen points take part in <math>n(n-1)=2\tbinom{n}{2}</math> pairs of a region and one of its extreme points. Additionally, the topmost and bottommost points of the circle take part in two pairs of a region and one of its extreme points.
Putting together all of this information about the number of pairs of a region and its extreme points gives a proof by double counting that
<math display=block>
2r=2\left(\binom{n}{4}+\binom{n}{2}+1\right),
</math>
equivalent to the given solution to Moser's circle problem.
John Horton Conway and Richard K. Guy provide an alternative bijective proof of the equivalent formula <math display=block>
r=\binom{n-1}{4}+\binom{n-1}{3}+\binom{n-1}{2}+\binom{n-1}{1}+\binom{n-1}{0},
</math>
by finding a one-to-one correspondence between the regions and subsets of up to four of the chosen points, omitting one of the chosen points from all of these subsets. It is also possible to derive a formula for the number of regions from Euler's formula <math>V-E+F=2</math> for the numbers of vertices, edges, and faces of a planar graph, or by considering the number of additional pieces created in each step when the points or diagonals are added one by one.
Related problems
thumb|upright|Maximum number of regions that an inscribed hexagon and its diagonals can divide a circle (top) the hexagon is regular (bottom)
If the points are uniformly spaced around the circle, the number of regions is reduced for even <math>n\ge 4</math>: six points produce 30 regions instead of 31, eight points produce 88 regions instead of 99, etc.
The problem of finding the maximum number of regions into which a convex polygon with <math>n</math> vertices can be subdivided by its diagonals differs from Moser's problem in that there are no diagonals between consecutive polygon vertices; instead the line segment between two such points is an edge of the polygon itself. Therefore the <math>n</math> circular segments formed by these diagonals in Moser's circle problem do not appear in the polygon problem. Similar arguments to those for Moser's circle problem can be used to show that the number of regions is maximized when there is no triple crossing of diagonals, and that in this case the number of regions is
<math display=block>\binom{n}{4}+\binom{n-1}{2}.</math>
The same sequence of numbers found in the solution of Moser's circle problem also provides the maximum number of regions that 4-dimensional space can be cut into by <math>n-1</math> hyperplanes. As with Moser's circle problem, this has been used as an example of the risk of generalising from few observations. The corresponding sequences of numbers for subdivision of two-dimensional space by lines and three-dimensional space by planes are the lazy caterer's sequence and cake numbers, respectively.
