HOME

TheInfoList



OR:

The Lambek–Moser theorem is a mathematical description of partitions of the 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 that any two
non-decreasing In mathematics, a sequence is an enumerated collection of objects in which repetitions are allowed and order matters. Like a set, it contains members (also called ''elements'', or ''terms''). The number of elements (possibly infinite) is called t ...
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 that every complementary partition can be constructed in this way. When a formula is known for the natural number in a set, the Lambek–Moser theorem can be used to obtain a formula for the number not in the set. The Lambek–Moser theorem belongs to
combinatorial number theory Number theory (or arithmetic or higher arithmetic in older usage) is a branch of pure mathematics devoted primarily to the study of the integers and integer-valued functions. German mathematician Carl Friedrich Gauss (1777–1855) said, "Math ...
. It is named for Joachim Lambek and
Leo Moser Leo Moser (11 April 1921, Vienna – 9 February 1970, Edmonton) was an Austrian-Canadian mathematician, best known for his polygon notation. A native of Vienna, Leo Moser immigrated with his parents to Canada at the age of three. He received his ...
, who published it in 1954, and should be distinguished from an unrelated theorem of Lambek and Moser, later strengthened by Wild, on the number of primitive Pythagorean triples. It extends Rayleigh's theorem, which describes complementary pairs of Beatty sequences, the sequences of rounded multiples of irrational numbers.


From functions to partitions

Let f be any function from positive integers to non-negative integers that is both
non-decreasing In mathematics, a sequence is an enumerated collection of objects in which repetitions are allowed and order matters. Like a set, it contains members (also called ''elements'', or ''terms''). The number of elements (possibly infinite) is called t ...
(each value in the sequence f(1),f(2),f(3),\dots is at least as large as any earlier value) and unbounded (it eventually increases past any fixed value). The sequence of its values may skip some numbers, so it might not have an inverse function with the same properties. Instead, define a non-decreasing and unbounded integer function f^* that is as close as possible to the inverse in the sense that, for all positive integers n, f\bigl(f^*(n)\bigr) < n \le f\bigl(f^*(n)+1\bigr). Equivalently, f^*(n) may be defined as the number of values x for which f(x). It follows from either of these definitions that f^*^*=f. If the two functions f and f^* are plotted as
histogram A histogram is an approximate representation of the distribution of numerical data. The term was first introduced by Karl Pearson. To construct a histogram, the first step is to " bin" (or "bucket") the range of values—that is, divide the ent ...
s, they form mirror images of each other across the diagonal line x=y. From these two functions f and f^*, define two more functions F and F^*, from positive integers to positive integers, by \begin F(n)&=f(n)+n\\ F^*(n)&=f^*(n)+n\\ \end Then the first part of the Lambek–Moser theorem states that each positive integer occurs exactly once among the values of either F or F^*. That is, the values obtained from F and the values obtained from F^* form two complementary sets of positive integers. More strongly, each of these two functions maps its argument n to the nth member of its set in the partition.; , pp. 95–96; . As an example of the construction of a partition from a function, let f(n)=n^2, 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 f^*(n)=\lfloor\sqrt\rfloor. These two functions give F(n)=n^2+n and F^*(n)=\lfloor\sqrt\rfloor+n. For n=1,2,3,\dots the values of F are the pronic numbers :2, 6, 12, 20, 30, 42, 56, 72, 90, 110, ... while the values of F^* 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. The Lambek–Moser theorem states that this phenomenon is not specific to the pronic numbers, but rather it arises for any choice of f with the appropriate properties.


From partitions to functions

The second part of the Lambek–Moser theorem states that this construction of partitions from inverse functions is universal, in the sense that it can explain any partition of the positive integers into two infinite parts. If S=s_1,s_2,\dots and S^*=s^*_1,s^*_2,\dots are any two complementary increasing sequences of integers, one may construct a pair of functions f and f^* from which this partition may be derived using the Lambek–Moser theorem. To do so, define f(n)=s_n-n and f^*(n)=s^*_n-n. One of the simplest examples to which this could be applied is the partition of positive integers into
even and odd numbers In mathematics, parity is the property of an integer of whether it is even or odd. An integer is even if it is a multiple of two, and odd if it is not.. For example, −4, 0, 82 are even because \begin -2 \cdot 2 &= -4 \\ 0 \cdot 2 &= 0 \\ 41 ...
. The functions F(n) and F^*(n) should give the even or odd number, respectively, so F(n)=2n and F^*(n)=2n-1. From these are derived the two functions f(n)=F(n)-n=n and f^*(n)=F^*(n)-n=n-1. 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 number In number theory, an evil number is a non-negative integer that has an even Hamming weight, number of 1s in its Binary number, binary expansion. These numbers give the positions of the zero values in the Thue–Morse sequence, and for this reason ...
s and
odious number In number theory, an odious number is a positive integer that has an odd number of 1s in its binary expansion. In computer science, an odious number is said to have odd parity. Examples The first odious numbers are: Properties If a(n) denotes ...
s (by the parity of the binary representation) uses almost the same functions, adjusted by the values of the Thue–Morse sequence.


Limit formula

In the same work in which they proved the Lambek–Moser theorem, Lambek and Moser provided a method of going directly the function giving the member of a set of positive integers, the function giving the non-member, without going through f Let F^(n) denote the number of values of x for which F(x)\le n; this is an approximation to the inverse function but (because it uses \le in place offset by one from the type of inverse used to define f^* Then, for F^*(n) is the limit of the sequence n, n+F^(n), n+F^\bigl(n+F^(n)\bigr), \dots, meaning that this sequence eventually becomes constant and the value it takes when it does Lambek and Moser used the prime numbers as an example, following earlier work by Viggo Brun and
D. H. Lehmer Derrick Henry "Dick" Lehmer (February 23, 1905 – May 22, 1991), almost always cited as D.H. Lehmer, was an American mathematician significant to the development of computational number theory. Lehmer refined Édouard Lucas' work in the 1930s and ...
. If \pi(n) is the
prime-counting function In mathematics, the prime-counting function is the function counting the number of prime numbers less than or equal to some real number ''x''. It is denoted by (''x'') (unrelated to the number ). History Of great interest in number theory is t ...
(the number of primes less than or equal then the non-prime (1 or a composite number) is given by the limit of the sequence n, n+\pi(n), n+\pi\bigl(n+\pi(n)\bigr), \dots For some other sequences of integers, the corresponding limit converges in a fixed number of steps, and a direct formula for the complementary sequence is possible. In particular, the positive integer that is not a power can be obtained from the limiting formula as n+\left\lfloor\sqrt right\rfloor.


History and proofs

The theorem was discovered by
Leo Moser Leo Moser (11 April 1921, Vienna – 9 February 1970, Edmonton) was an Austrian-Canadian mathematician, best known for his polygon notation. A native of Vienna, Leo Moser immigrated with his parents to Canada at the age of three. He received his ...
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 Derrick Henry "Dick" Lehmer (February 23, 1905 – May 22, 1991), almost always cited as D.H. Lehmer, was an American mathematician significant to the development of computational number theory. Lehmer refined Édouard Lucas' work in the 1930s and ...
from the early 1930s on methods related to their limiting formula for F^*.
Edsger W. Dijkstra Edsger Wybe Dijkstra ( ; ; 11 May 1930 – 6 August 2002) was a Dutch computer scientist, programmer, software engineer, systems scientist, and science essayist. He received the 1972 Turing Award for fundamental contributions to developing progra ...
has provided a
visual proof In mathematics, a proof without words (or visual proof) is an illustration of an identity or mathematical statement which can be demonstrated as self-evident by a diagram without any accompanying explanatory text. Such proofs can be considered mo ...
of the result, and later another proof based on algorithmic reasoning. Yuval Ginosar has provided an intuitive proof based on an analogy of two athletes running in opposite directions around a circular racetrack.


Related results


For non-negative integers

A variation of the theorem applies to partitions of the non-negative integers, rather than to partitions of the positive integers. For this variation, every partition corresponds to a
Galois connection In mathematics, especially in order theory, a Galois connection is a particular correspondence (typically) between two partially ordered sets (posets). Galois connections find applications in various mathematical theories. They generalize the funda ...
of the ordered non-negative integers to themselves. This is a pair of non-decreasing functions (f,f^*) with the property that, for all x and y, f(x)\le y if and only if x\le f(y). The corresponding functions F and F^* are defined slightly less symmetrically by F(n)=f(n)+n and F^*(n)=f^*(n)+n+1. For functions defined in this way, the values of F and F^* (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.


Rayleigh's theorem

Rayleigh's theorem states that for two positive irrational numbers r and s, both greater than one, with \tfrac1r+\tfrac1s=1, the two sequences \lfloor i\cdot r\rfloor and \lfloor i\cdot s\rfloor for i=1,2,3,\dots, obtained by rounding down to an integer the multiples of r and s, are complementary. It can be seen as an instance of the Lambek–Moser theorem with f(n)=\lfloor rn\rfloor-n and f^\ast(n)=\lfloor sn\rfloor-n. The condition that r and s be greater than one implies that these two functions are non-decreasing; the derived functions are F(n)=\lfloor rn\rfloor and F^*(n)=\lfloor sn\rfloor. The sequences of values of F and F^* forming the derived partition are known as Beatty sequences, after Samuel Beatty's 1926 rediscovery of Rayleigh's theorem.; ; , pp. 93–95; .


See also

* Hofstadter Figure-Figure sequences, another pair of complementary sequences to which the Lambek–Moser theorem can be applied


Notes


References

* * *; Solutions by Beatty, A. Ostrowski, J. Hyslop, and A. C. Aitken, vol. 34 (1927), pp. 159–160, *, as cited by * * * * * * * * * * * * * * {{DEFAULTSORT:Lambek-Moser theorem Integer sequences Theorems in number theory