Beatty sequence explained

In mathematics, a Beatty sequence (or homogeneous Beatty sequence) is the sequence of integers found by taking the floor of the positive multiples of a positive irrational number. Beatty sequences are named after Samuel Beatty, who wrote about them in 1926.

Rayleigh's theorem, named after Lord Rayleigh, states that the complement of a Beatty sequence, consisting of the positive integers that are not in the sequence, is itself a Beatty sequence generated by a different irrational number.

Beatty sequences can also be used to generate Sturmian words.

Definition

Any irrational number

r

that is greater than one generates the Beatty sequence\mathcal_r = \bigl\The two irrational numbers

r

and

s=r/(r-1)

naturally satisfy the equation

1/r+1/s=1

.The two Beatty sequences

l{B}r

and

l{B}s

that they generate form a pair of complementary Beatty sequences. Here, "complementary" means that every positive integer belongs to exactly one of these two sequences.

Examples

When

r

is the golden ratio

r=(1+\sqrt5)/2 ≈ 1.618

, the complementary Beatty sequence is generated by

s=r+1=(3+\sqrt5)/2 ≈ 2.618

. In this case, the sequence

(\lfloornr\rfloor)

, known as the lower Wythoff sequence, isand the complementary sequence

(\lfloorns\rfloor)

, the upper Wythoff sequence, isThese sequences define the optimal strategy for Wythoff's game, and are used in the definition of the Wythoff array.

As another example, for the square root of 2,

r=\sqrt2 ≈ 1.414

,

s=2+\sqrt2 ≈ 3.414

. In this case, the sequences are For

r=\pi3.142

and

s=\pi/(\pi-1)1.467

, the sequences are Any number in the first sequence is absent in the second, and vice versa.

History

Beatty sequences got their name from the problem posed in The American Mathematical Monthly by Samuel Beatty in 1926.[1] [2] It is probably one of the most often cited problems ever posed in the Monthly. However, even earlier, in 1894 such sequences were briefly mentioned by Lord Rayleigh in the second edition of his book The Theory of Sound.

Rayleigh theorem

Rayleigh's theorem (also known as Beatty's theorem) states that given an irrational number

r>1,

there exists

s>1

so that the Beatty sequences

l{B}r

and

l{B}s

partition the set of positive integers: each positive integer belongs to exactly one of the two sequences.[3]

First proof

Given

r>1,

let

s=r/(r-1)

. We must show that every positive integer lies in one and only one of the two sequences

l{B}r

and

l{B}s

. We shall do so by considering the ordinal positions occupied by all the fractions

j/r

and

k/s

when they are jointly listed in nondecreasing order for positive integers j and k.

To see that no two of the numbers can occupy the same position (as a single number), suppose to the contrary that

j/r=k/s

for some j and k. Then

r/s

=

j/k

, a rational number, but also,

r/s=r(1-1/r)=r-1,

not a rational number. Therefore, no two of the numbers occupy the same position.

For any

j/r

, there are

j

positive integers

i

such that

i/r\lej/r

and

\lfloorjs/r\rfloor

positive integers

k

such that

k/s\lej/r

, so that the position of

j/r

in the list is

j+\lfloorjs/r\rfloor

. The equation

1/r+1/s=1

impliesj + \lfloor js/r \rfloor = j + \lfloor j(s - 1) \rfloor = \lfloor js \rfloor.

Likewise, the position of

k/s

in the list is

\lfloorkr\rfloor

.

Conclusion: every positive integer (that is, every position in the list) is of the form

\lfloornr\rfloor

 or of the form

\lfloorns\rfloor

, but not both. The converse statement is also true: if p and q are two real numbers such that every positive integer occurs precisely once in the above list, then p and q are irrational and the sum of their reciprocals is 1.

Second proof

Suppose that, contrary to the theorem, there are integers j >&thinsp;0 and k and m such thatj = \left\lfloor \right\rfloor = \left\lfloor \right\rfloor \,.This is equivalent to the inequalitiesj \le k \cdot r < j + 1 \text j \le m \cdot s < j + 1.

For non-zero j, the irrationality of r and s is incompatible with equality, soj < k \cdot r < j + 1 \text j < m \cdot s < j + 1, which leads to < k < \text < m < .

Adding these together and using the hypothesis, we getj < k + m < j + 1 which is impossible (one cannot have an integer between two adjacent integers). Thus the supposition must be false.

Suppose that, contrary to the theorem, there are integers j > 0 and k and m such thatk \cdot r < j \text j + 1 \le (k + 1) \cdot r \text m \cdot s < j \text j + 1 \le (m + 1) \cdot s \,.

Since j +&thinsp;1 is non-zero and r and s are irrational, we can exclude equality, sok \cdot r < j \text j + 1 < (k + 1) \cdot r \text m \cdot s < j \text j + 1 < (m + 1) \cdot s.

Then we getk < \text < k + 1 \text m < \text < m + 1

Adding corresponding inequalities, we getk + m < j \text j + 1 < k + m + 2 k + m < j < k + m + 1

which is also impossible. Thus the supposition is false.

Properties

A number

m

belongs to the Beatty sequence

l{B}r

if and only if 1 - \frac < \left[\frac{m}{r} \right]_1where

[x]1

denotes the fractional part of

x

i.e.,

[x]1=x-\lfloorx\rfloor

.

Proof:

m\inBr

\Leftrightarrow\existsn,m=\lfloornr\rfloor

\Leftrightarrowm<nr<m+1

\Leftrightarrow

m
r

<n<

m
r

+

1
r

\Leftrightarrown-

1
r

<

m
r

<n

\Leftrightarrow1-

1
r

<\left[

m
r

\right]1

Furthermore,

m=\left\lfloor\left(\left\lfloor

m
r

\right\rfloor+1\right)r\right\rfloor

.

Proof:

m=\left\lfloor\left(\left\lfloor

m
r

\right\rfloor+1\right)r\right\rfloor

\Leftrightarrowm<\left(\left\lfloor

m
r

\right\rfloor+1\right)r<m+1

\Leftrightarrow

m
r

<\left\lfloor

m
r

\right\rfloor+1<

m+1
r

\Leftrightarrow\left\lfloor

m
r

\right\rfloor+1-

1
r

<

m
r

<\left\lfloor

m
r

\right\rfloor+1

\Leftrightarrow1-

1
r

<

m
r

-\left\lfloor

m
r

\right\rfloor=\left[

m
r

\right]1

Relation with Sturmian sequences

The first difference\lfloor (n+1)r\rfloor-\lfloor nr\rfloorof the Beatty sequence associated with the irrational number

r

is a characteristic Sturmian word over the alphabet

\{\lfloorr\rfloor,\lfloorr\rfloor+1\}

.

Generalizations

If slightly modified, the Rayleigh's theorem can be generalized to positive real numbers (not necessarily irrational) and negative integers as well: if positive real numbers

r

and

s

satisfy

1/r+1/s=1

, the sequences

(\lfloormr\rfloor)m

and

(\lceilns\rceil-1)n

form a partition of integers. For example, the white and black keys of a piano keyboard are distributed as such sequences for

r=12/7

and

s=12/5

.

The Lambek–Moser theorem generalizes the Rayleigh theorem and shows that more general pairs of sequences defined from an integer function and its inverse have the same property of partitioning the integers.

Uspensky's theorem states that, if

\alpha1,\ldots,\alphan

are positive real numbers such that

(\lfloork\alphai\rfloor)k,i\ge1

contains all positive integers exactly once, then

n\le2.

That is, there is no equivalent of Rayleigh's theorem for three or more Beatty sequences.[4] [5]

Further reading

External links

Notes and References

  1. Beatty, Samuel . . Problem 3173 . . 33 . 3 . 1926 . 159 . 10.2307/2300153. 2300153 .
  2. Solutions to Problem 3173 . S. Beatty . A. Ostrowski . J. Hyslop . A. C. Aitken . . 34 . 1927 . 159–160 . 10.2307/2298716 . 2298716 . 3.
  3. Book: John William Strutt, 3rd Baron Rayleigh . John William Strutt, 3rd Baron Rayleigh . The Theory of Sound . Macmillan . 1 . Second . 1894 . 123 .
  4. J. V. Uspensky, On a problem arising out of the theory of a certain game, Amer. Math. Monthly 34 (1927), pp. 516–521.
  5. R. L. Graham, On a theorem of Uspensky, Amer. Math. Monthly 70 (1963), pp. 407–409.