# .

# Lambek–Moser theorem

In combinatorial number theory, the Lambek–Moser theorem is a generalization of Beatty's theorem that defines a partition of the positive integers into two subsets from any monotonic integer-valued function. Conversely, any partition of the positive integers into two subsets may be defined from a monotonic function in this way.

The theorem was discovered by Leo Moser and Joachim Lambek. Dijkstra (1980) provides a visual proof of the result.[1]

Statement of the theorem

The theorem applies to any non-decreasing and unbounded function f that maps positive integers to non-negative integers. From any such function f, define f* to be the integer-valued function that is as close as possible to the inverse function of f, in the sense that, for all n,

*f*(*f**(*n*)) < *n* ≤ *f*(*f**(*n*) + 1). It follows from this definition that *f*** = *f*.

Further, define

*F*(*n*) = *f*(*n*) + *n* and *G*(*n*) = *f**(*n*) + *n*.

Then the result states that F and G are strictly increasing and that the ranges of F and G form a partition of the positive integers.

Example

Let f(n) = n2;[2] then \( \scriptstyle f^\ast(n)=\lfloor\sqrt{n-1}\rfloor \). Thus *F*(*n*) = *n*^{2} + *n* and \( \scriptstyle G(n)=\lfloor\sqrt{n-1}\rfloor+n \). For n = 1, 2, 3, ... the values of F are the pronic numbers

2, 6, 12, 20, 30, 42, 56, 72, 90, 110, ...

while the values of G 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.

Beatty's theorem

Beatty's theorem, defining a partition of the integers from rounding their multiples by an irrational number r > 1, can be seen as an instance of the Lambek–Moser theorem. In Beatty's theorem, \( \scriptstyle f(n)=\lfloor rn\rfloor-n and \scriptstyle f^\ast(n)=\lfloor sn\rfloor-n \), where \( \scriptstyle\tfrac{1}{r}+\tfrac{1}{s}=1 \). The condition that r (and therefore s) be greater than one implies that these two functions are non-decreasing; the derived functions are \scriptstyle \( F(n)=\lfloor rn\rfloor \) and \( \scriptstyle G(n)=\lfloor sn\rfloor \). The sequences of values of F and G forming the derived partition are known as Beatty sequences.

Universality

The Lambek–Moser theorem is universal, in the sense that it can explain any partition of the integers into two infinite parts. If *S* = *s*_{1},*s*_{2},... and *T* = *t*_{1},*t*_{2},... are any two infinite subsets forming a partition of the integers, one may construct a pair of functions *f* and *f** from which this partition may be derived using the Lambek–Moser theorem: define *f*(*n*) = *s*_{n} − *n* and *f**(*n*) = *t*_{n} − *n*.

For instance, consider the partition of integers into even and odd numbers: let *S* be the even numbers and *T* be the odd numbers. Then *s*_{n} = 2*n*, so *f*(*n*) = *n* and similarly *f**(*n*) = *n* − 1. These two functions *f* and *f** 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.

Lambek and Moser discuss formulas involving the prime-counting function for the functions *f* and *f** arising in this way from the partition of the positive integers into prime numbers and composite numbers.

See also

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

Notes

For another proof, see "A proof for the Lambek and Moser theorem" (PDF), Mathematical Excalibur 4 (1), 1998: 2

Example from Garry, Y. K. K. (1997), "Inverse sequences and complementary sequences" (PDF), Mathematical Excalibur 3 (4): 2

References

Beatty, Samuel (1926), "Problem 3173", American Mathematical Monthly 33 (3): 159, doi:10.2307/2300153 Solutions by Beatty, A. Ostrowski, J. Hyslop, and A. C. Aitken, vol. 34 (1927), pp. 159–160.

Dijkstra, Edsger W. (1980), On a theorem by Lambek and Moser (PDF), Report EWD753, University of Texas.

Lambek, Joachim; Moser, Leo (Aug–Sep 1954), "Inverse and Complementary Sequences of Natural Numbers", The American Mathematical Monthly 61 (7): 454–458, doi:10.2307/2308078

Retrieved from "http://en.wikipedia.org/"

All text is available under the terms of the GNU Free Documentation License