Lambek–Moser theorem
Template:Short description Template:Good article The Lambek–Moser theorem is a mathematical description of the partitions of natural numbers into two complementary sets. For instance, it applies to the partition of numbers into even and odd, or into prime and non-prime (one and the composite numbers). There are two parts to the Lambek–Moser theorem. One part states any two non-decreasing integer functions that are inverse, in a certain sense, can be used to split the natural numbers into two complementary subsets, and the other part states every complementary partition can be constructed in this way. When a formula is known for the Template:Nowrap natural number in a set, the Lambek–Moser theorem can be used to obtain a formula for the Template:Nowrap number not in the set.
The Lambek–Moser theorem belongs to combinatorial number theory. It is named for Joachim Lambek and Leo Moser, who published it in 1954,Template:Sfn and should be distinguished from an unrelated theorem of Lambek and Moser, later strengthened by Roy Wild, on the number of primitive Pythagorean triples.Template:Sfn It extends Rayleigh's theorem, which describes complementary pairs of Beatty sequences, the sequences of rounded multiples of irrational numbers.
From functions to partitions
Template:Multiple image The graphs of any two inverse functions on the positive real numbers are reflections of each other across the diagonal line .Template:Sfn For integer functions, it is possible to define an analogue of the inverse function, and a curve analogous to the graph of a function, called in this article a histogram,[1] for which the same reflection property holds. In more detail, let be any function from positive integers to non-negative integers that is both non-decreasing (each value in the sequence is at least as large as the preceding value) and unbounded (it eventually increases past any fixed value). Define the histogram of to be a piecewise-linear curve through the points , , and for each positive integer . It alternates between horizontal and vertical line segments. It is not the graph of a function, because of the vertical segments; however, if only the horizontal segments and their right endpoints are included, the result is the graph of , the function that rounds up to an integer and then applies . The vertical segments connect these horizontal segments into a single continuous curve.Template:Sfn Define a non-decreasing and unbounded integer function that is as close as possible to the inverse in the sense that, for all positive integers , Equivalently, may be defined as the number of values for which . It follows from either of these definitions that .[2] Then, like a pair of inverse functions, the two functions and have histograms that are mirror images of each other across the diagonal line .Template:Sfn
From these two functions and , define two more functions and , from positive integers to positive integers, by
Then the first part of the Lambek–Moser theorem states each positive integer occurs exactly once among the values of either or . That is, the values obtained from and the values obtained from form two complementary sets of positive integers. More strongly, each of these two functions maps its argument to the th member of its set in the partition.[2]
As an example of the construction of a partition from a function, let , the function that squares its argument. Then its inverse is the square root function, whose closest integer approximation (in the sense used for the Lambek–Moser theorem) is . These two functions give and For the values of are the pronic numbers
- 2, 6, 12, 20, 30, 42, 56, 72, 90, 110, ...
while the values of are
- 1, 3, 4, 5, 7, 8, 9, 10, 11, 13, 14, ....
These two sequences are complementary: each positive integer belongs to exactly one of them.Template:Sfn The Lambek–Moser theorem states this phenomenon is not specific to pronic numbers, but rather it arises for any choice of with the appropriate properties.[2]
From partitions to functions
The two functions (rightward blue arrows) and (leftward red arrows) arising from the partition of positive integers into primes (2, 3, 5, 7, ...) and non-primes (1, 4, 6, 8, ...).
Each blue arrow passes from a number through to , and each red arrow passes from a number through to . Visualization based on a method of Angel.Template:Sfn
The second part of the Lambek–Moser theorem states this construction of partitions from inverse functions is universal, in the sense it can explain any partition of positive integers into two infinite parts. If and are any two complementary increasing sequences of integers, one may construct a pair of functions and from which this partition may be derived using the Lambek–Moser theorem. To do so, define and .[2]
One of the simplest examples to which this could be applied is the partition of positive integers into even and odd numbers. The functions and should give the Template:Nowrap even or odd number, respectively, so and . From these are derived the two functions and . They form an inverse pair, and the partition generated via the Lambek–Moser theorem from this pair is just the partition of the positive integers into even and odd numbers. Another integer partition, into evil numbers and odious numbers (by the parity of the binary representation) uses almost the same functions, adjusted by the values of the Thue–Morse sequence.Template:Sfn
Limit formula
In the same work in which they proved the Lambek–Moser theorem, Lambek and Moser provided a method of going directly Template:Nowrap the function giving the Template:Nowrap member of a set of positive integers, Template:Nowrap the function giving the Template:Nowrap non-member, without going through Template:Nowrap Let denote the number of values of for which ; this is an approximation to the inverse function Template:Nowrap but (because it uses in place Template:Nowrap offset by one from the type of inverse used to define Template:Nowrap Then, for Template:Nowrap is the limit of the sequence meaning that, after a certain point, all successive values in this sequence become equal to each other, and the resulting value Template:Nowrap
Lambek and Moser used prime numbers as an example, following earlier work by Viggo Brun and D. H. Lehmer.[3] If is the prime-counting function (the number of primes less than or equal Template:Nowrap then the Template:Nowrap non-prime (1 or a composite number) is given by the limit of the sequence:[4]
For some choices of , the sequence will start repeating after a fixed number of steps, no matter which value of it starts with. When this happens, the element of the sequence at the point where it starts repeating gives a direct formula for the complementary function . For example, this happens when , the Template:Nowrap power Template:Nowrap (for an integer Template:Nowrap the sequence always starts repeating by its third term. Using this idea, the Template:Nowrap positive integer that is not a Template:Nowrap power is given by the third (repeating) term of the limiting formula as[5]
History and proofs
The theorem was discovered by Leo Moser and Joachim Lambek, who published it in 1954. Moser and Lambek cite the previous work of Samuel Beatty on Beatty sequences as their inspiration, and also cite the work of Viggo Brun and D. H. Lehmer from the early 1930s on methods related to their limiting formula for .Template:Sfn
Edsger W. Dijkstra has provided a visual "proof" of the result (scare quotes as given by Dijkstra),Template:Sfn and later a more rigorous proof based on algorithmic reasoning.Template:Sfn The first of these two proofs represents an integer partition geometrically, as an arrangement of rectangles in the plane. These rectangles have dimensions (unit width) for numbers that belong to the first set of the partition, and (unit height) for numbers in the second set. They are placed so that the bottom left corner of each rectangle lies on the diagonal line , and so that they together cover the integer squares of the half-plane above this line. The first rectangle, a unit square, is placed with its top right corner at the origin. The rectangles are then added one by one in order by their areas; each vertical rectangle is added to the left of the previous rectangles, with its bottom left corner on this diagonal line, while each horizontal rectangle is added above the previous rectangles, again with its bottom left corner on this diagonal line. Then the functions and of the theorem can be read off from this packing as the heights that the Template:Nowrap vertical rectangle rises above the -axis or its bottom edge, respectively. Similarly, the functions and can be read off as the amount that the Template:Nowrap horizontal rectangle extends to the right of the -axis or its left edge, respectively. Conversely, any two functions and or and meeting the conditions of the theorem give rise to a rectangle packing of this type, from which the values of and can be seen to be a partition of the integers.Template:Sfn
Yuval Ginosar has provided an intuitive proof based on an analogy of two athletes running in opposite directions, at varying speeds, around a circular racetrack. Each time one of the athletes crosses a fixed mark on the track, they report the number of times they have met the other athlete (counting the start of the race as a meeting). Because they cross paths a countable number of times, the mark can be placed at a point on the track where they never meet. Then, between each two consecutive times the athletes meet, they will together cover each point on the track once, so during this time exactly one of them will cross the mark and report their number of meetings. Therefore, the sets of numbers reported by each athlete form a partition of the positive integers. From this setup Ginosar derives the remaining properties of the Lambek–Moser theorem.Template:Sfn
Related results
For non-negative integers
As stated above, the Lambek–Moser theorem applies to partitions of the positive integers. A variation of the theorem applies instead to partitions of non-negative integers, including zero. For this variation, every partition corresponds to a Galois connection of the ordered non-negative integers to themselves. This is a pair of non-decreasing functions with the property that, for all and , if and only if . The corresponding functions and are defined slightly less symmetrically by and . For functions defined in this way, the values of and (for non-negative arguments, rather than positive arguments) form a partition of the non-negative integers, and every partition can be constructed in this way.Template:Sfn
Rayleigh's theorem
Template:Main Rayleigh's theorem states that for two positive irrational numbers Template:Nowrap both greater than one, with Template:Nowrap the two sequences and Template:Nowrap obtained by rounding down to an integer the multiples of Template:Nowrap are complementary. It can be seen as an instance of the Lambek–Moser theorem with and Template:Nowrap The condition that Template:Nowrap be greater than one implies these two functions are non-decreasing; the derived functions are and Template:Nowrap The sequences of values of and forming the derived partition are known as Beatty sequences, after Samuel Beatty's 1926 rediscovery of Rayleigh's theorem.[6]
See also
- Hofstadter Figure-Figure sequences, another pair of complementary sequences to which the Lambek–Moser theorem can be applied
Notes
References
- Template:Citation
- Template:Citation
- Template:Citation; Solutions by Beatty, A. Ostrowski, J. Hyslop, and A. C. Aitken, vol. 34 (1927), pp. 159–160, Template:JSTOR
- Template:Citation
- Template:Citation, as cited by Template:Harvnb
- Template:Citation
- Template:Citation
- Template:Citation
- Template:Citation
- Template:Citation
- Template:Citation
- Template:Citation
- Template:Citation
- Template:Citation
- Template:Citation
- Template:Citation
- Template:Citation
- Template:Citation
- Template:Citation
- ↑ There appears to be no consistent name for these curves in the literature on the Lambek–Moser theorem. Both Template:Harvtxt and Template:Harvtxt draw these curves and note their reflection property but do not distinguish the curves from the functions they graph nor give them a separate name. A histogram is a type of bar chart for a discrete sequence of data values; the curves called histograms here resemble the histograms of the sequence of function values in this sense.
- ↑ 2.0 2.1 2.2 2.3 Template:Harvnb; Template:Harvnb, pp. 95–96; Template:Harvnb.
- ↑ Template:Harvnb; Template:Harvnb.
- ↑ Cite error: Invalid
<ref>tag; no text was provided for refs named "lure". - ↑ Template:Harvnb, pp. 97–100; Template:Harvnb; Template:Harvnb.
- ↑ Template:Harvnb; Template:Harvnb; Template:Harvnb, pp. 93–95; Template:Harvnb.