VOOZH about

URL: https://en.wikipedia.org/wiki/Beatty_sequence

⇱ Beatty sequence - Wikipedia


Jump to content
From Wikipedia, the free encyclopedia
Integers formed by rounding down the integer multiples of a positive irrational number

In mathematics, a Beatty sequence (or homogeneous Beatty sequence) is the sequence of integers found by taking the floor of the positive multiples of an irrational number that is greater than one. 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

[edit]

Any irrational number πŸ‘ {\displaystyle r}
that is greater than one generates the Beatty sequence πŸ‘ {\displaystyle {\mathcal {B}}_{r}={\bigl \{}\lfloor r\rfloor ,\lfloor 2r\rfloor ,\lfloor 3r\rfloor ,\ldots {\bigr \}}}
The two irrational numbers πŸ‘ {\displaystyle r}
and πŸ‘ {\displaystyle s=r/(r-1)}
naturally satisfy the equation πŸ‘ {\displaystyle 1/r+1/s=1}
. The two Beatty sequences πŸ‘ {\displaystyle {\mathcal {B}}_{r}}
and πŸ‘ {\displaystyle {\mathcal {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.[1]

Examples

[edit]

When πŸ‘ {\displaystyle r}
is the golden ratio πŸ‘ {\displaystyle r=(1+{\sqrt {5}})/2\approx 1.618}
, the sequence of integer multiples of πŸ‘ {\displaystyle r}
have the approximate values

1.618, 3.236, 4.854, 6.472, 8.090, 9.708, ...

Rounding these numbers down to integers gives the sequence πŸ‘ {\displaystyle (\lfloor nr\rfloor )}
, known as the lower Wythoff sequence, which is

1, 3, 4, 6, 8, 9, 11, 12, 14, 16, 17, 19, 21, 22, 24, 25, 27, 29, ... (sequence A000201 in the OEIS).

In this case, the complementary Beatty sequence is generated by πŸ‘ {\displaystyle s={\frac {r}{r-1}}={\frac {(1+{\sqrt {5}})/2}{(-1+{\sqrt {5}})/2}}={\frac {3+{\sqrt {5}}}{2}}\approx 2.618.}
Its integer multiples have the approximate values

2.618, 5.236, 7.854, 10.472, 13.090, 15.708, ...

Rounding these values down to integers πŸ‘ {\displaystyle (\lfloor ns\rfloor )}
produces the upper Wythoff sequence,

2, 5, 7, 10, 13, 15, 18, 20, 23, 26, 28, 31, 34, 36, 39, 41, 44, 47, ... (sequence A001950 in the OEIS).

Every positive integer is in exactly one of these two sequences. These sequences define the optimal strategy for Wythoff's game,[1] and are used in the definition of the Wythoff array.[2]

As another example, for the square root of 2, πŸ‘ {\displaystyle r={\sqrt {2}}\approx 1.414}
, and πŸ‘ {\displaystyle s={\sqrt {2}}/({\sqrt {2}}-1)=2+{\sqrt {2}}\approx 3.414}
. In this case, the sequences are

1, 2, 4, 5, 7, 8, 9, 11, 12, 14, 15, 16, 18, 19, 21, 22, 24, ... (sequence A001951 in the OEIS), and
3, 6, 10, 13, 17, 20, 23, 27, 30, 34, 37, 40, 44, 47, 51, 54, 58, ... (sequence A001952 in the OEIS).

For πŸ‘ {\displaystyle r=\pi \approx 3.142}
and πŸ‘ {\displaystyle s=\pi /(\pi -1)\approx 1.467}
, the sequences are

3, 6, 9, 12, 15, 18, 21, 25, 28, 31, 34, 37, 40, 43, 47, 50, 53, ... (sequence A022844 in the OEIS), and
1, 2, 4, 5, 7, 8, 10, 11, 13, 14, 16, 17, 19, 20, 22, 23, 24, 26, ... (sequence A054386 in the OEIS).

Any number in the first sequence is absent in the second, and vice versa.[1]

History

[edit]

Beatty sequences got their name from the problem posed in The American Mathematical Monthly by Samuel Beatty in 1926.[3][4] However, even earlier, in 1894 such sequences were briefly mentioned by Lord Rayleigh in the second edition of his book The Theory of Sound.[5]

Rayleigh theorem

[edit]

Rayleigh's theorem (also known as Beatty's theorem) states that given an irrational number πŸ‘ {\displaystyle r>1\,,}
there exists πŸ‘ {\displaystyle s>1}
so that the Beatty sequences πŸ‘ {\displaystyle {\mathcal {B}}_{r}}
and πŸ‘ {\displaystyle {\mathcal {B}}_{s}}
partition the set of positive integers: each positive integer belongs to exactly one of the two sequences.[5]

First proof

[edit]

Given πŸ‘ {\displaystyle r>1\,,}
let πŸ‘ {\displaystyle s=r/(r-1)}
. We must show that every positive integer lies in one and only one of the two sequences πŸ‘ {\displaystyle {\mathcal {B}}_{r}}
and πŸ‘ {\displaystyle {\mathcal {B}}_{s}}
. We shall do so by considering the ordinal positions occupied by all the fractions πŸ‘ {\displaystyle j/r}
and πŸ‘ {\displaystyle 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 πŸ‘ {\displaystyle j/r=k/s}
for some j and k. Then πŸ‘ {\displaystyle r/s}
= πŸ‘ {\displaystyle j/k}
, a rational number, but also, πŸ‘ {\displaystyle r/s=r(1-1/r)=r-1,}
not a rational number. Therefore, no two of the numbers occupy the same position.

For any πŸ‘ {\displaystyle j/r}
, there are πŸ‘ {\displaystyle j}
positive integers πŸ‘ {\displaystyle i}
such that πŸ‘ {\displaystyle i/r\leq j/r}
and πŸ‘ {\displaystyle \lfloor js/r\rfloor }
positive integers πŸ‘ {\displaystyle k}
such that πŸ‘ {\displaystyle k/s\leq j/r}
, so that the position of πŸ‘ {\displaystyle j/r}
in the list is πŸ‘ {\displaystyle j+\lfloor js/r\rfloor }
. The equation πŸ‘ {\displaystyle 1/r+1/s=1}
implies πŸ‘ {\displaystyle j+\lfloor js/r\rfloor =j+\lfloor j(s-1)\rfloor =\lfloor js\rfloor .}

Likewise, the position of πŸ‘ {\displaystyle k/s}
in the list is πŸ‘ {\displaystyle \lfloor kr\rfloor }
.

Conclusion: every positive integer (that is, every position in the list) is of the form πŸ‘ {\displaystyle \lfloor nr\rfloor }
or of the form πŸ‘ {\displaystyle \lfloor ns\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

[edit]

Collisions: Suppose that, contrary to the theorem, there are integers j > 0 and k and m such that πŸ‘ {\displaystyle j=\left\lfloor {k\cdot r}\right\rfloor =\left\lfloor {m\cdot s}\right\rfloor \,.}
This is equivalent to the inequalities πŸ‘ {\displaystyle j\leq k\cdot r<j+1{\text{ and }}j\leq m\cdot s<j+1.}

For non-zero j, the irrationality of r and s is incompatible with equality, so πŸ‘ {\displaystyle j<k\cdot r<j+1{\text{ and }}j<m\cdot s<j+1,}
which leads to πŸ‘ {\displaystyle {j \over r}<k<{j+1 \over r}{\text{ and }}{j \over s}<m<{j+1 \over s}.}

Adding these together and using the hypothesis, we get πŸ‘ {\displaystyle j<k+m<j+1}
which is impossible (one cannot have an integer between two adjacent integers). Thus the supposition must be false.

Anti-collisions: Suppose that, contrary to the theorem, there are integers j > 0 and k and m such that πŸ‘ {\displaystyle k\cdot r<j{\text{ and }}j+1\leq (k+1)\cdot r{\text{ and }}m\cdot s<j{\text{ and }}j+1\leq (m+1)\cdot s\,.}

Since j + 1 is non-zero and r and s are irrational, we can exclude equality, so πŸ‘ {\displaystyle k\cdot r<j{\text{ and }}j+1<(k+1)\cdot r{\text{ and }}m\cdot s<j{\text{ and }}j+1<(m+1)\cdot s.}

Then we get πŸ‘ {\displaystyle k<{j \over r}{\text{ and }}{j+1 \over r}<k+1{\text{ and }}m<{j \over s}{\text{ and }}{j+1 \over s}<m+1}

Adding corresponding inequalities, we get πŸ‘ {\displaystyle k+m<j{\text{ and }}j+1<k+m+2}
πŸ‘ {\displaystyle k+m<j<k+m+1}

which is also impossible. Thus the supposition is false.

Properties

[edit]

A number πŸ‘ {\displaystyle m}
belongs to the Beatty sequence πŸ‘ {\displaystyle {\mathcal {B}}_{r}}
if and only if πŸ‘ {\displaystyle 1-{\frac {1}{r}}<\left[{\frac {m}{r}}\right]_{1}}
where πŸ‘ {\displaystyle [x]_{1}}
denotes the fractional part of πŸ‘ {\displaystyle x}
i.e., πŸ‘ {\displaystyle [x]_{1}=x-\lfloor x\rfloor }
.

Proof: πŸ‘ {\displaystyle m\in B_{r}}
πŸ‘ {\displaystyle \Leftrightarrow \exists n,m=\lfloor nr\rfloor }
πŸ‘ {\displaystyle \Leftrightarrow m<nr<m+1}
πŸ‘ {\displaystyle \Leftrightarrow {\frac {m}{r}}<n<{\frac {m}{r}}+{\frac {1}{r}}}
πŸ‘ {\displaystyle \Leftrightarrow n-{\frac {1}{r}}<{\frac {m}{r}}<n}
πŸ‘ {\displaystyle \Leftrightarrow 1-{\frac {1}{r}}<\left[{\frac {m}{r}}\right]_{1}}

Furthermore, πŸ‘ {\displaystyle m=\left\lfloor \left(\left\lfloor {\frac {m}{r}}\right\rfloor +1\right)r\right\rfloor }
.

Proof: πŸ‘ {\displaystyle m=\left\lfloor \left(\left\lfloor {\frac {m}{r}}\right\rfloor +1\right)r\right\rfloor }
πŸ‘ {\displaystyle \Leftrightarrow m<\left(\left\lfloor {\frac {m}{r}}\right\rfloor +1\right)r<m+1}
πŸ‘ {\displaystyle \Leftrightarrow {\frac {m}{r}}<\left\lfloor {\frac {m}{r}}\right\rfloor +1<{\frac {m+1}{r}}}
πŸ‘ {\displaystyle \Leftrightarrow \left\lfloor {\frac {m}{r}}\right\rfloor +1-{\frac {1}{r}}<{\frac {m}{r}}<\left\lfloor {\frac {m}{r}}\right\rfloor +1}
πŸ‘ {\displaystyle \Leftrightarrow 1-{\frac {1}{r}}<{\frac {m}{r}}-\left\lfloor {\frac {m}{r}}\right\rfloor =\left[{\frac {m}{r}}\right]_{1}}

Relation with Sturmian sequences

[edit]

The first difference πŸ‘ {\displaystyle \lfloor (n+1)r\rfloor -\lfloor nr\rfloor }
of the Beatty sequence associated with the irrational number πŸ‘ {\displaystyle r}
is a characteristic Sturmian word over the alphabet πŸ‘ {\displaystyle \{\lfloor r\rfloor ,\lfloor r\rfloor +1\}}
.

Generalizations

[edit]

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 πŸ‘ {\displaystyle r}
and πŸ‘ {\displaystyle s}
satisfy πŸ‘ {\displaystyle 1/r+1/s=1}
, the sequences πŸ‘ {\displaystyle (\lfloor mr\rfloor )_{m\in \mathbb {Z} }}
and πŸ‘ {\displaystyle (\lceil ns\rceil -1)_{n\in \mathbb {Z} }}
form a partition of integers. For example, the white and black keys of a piano keyboard are distributed as such sequences for πŸ‘ {\displaystyle r=12/7}
and πŸ‘ {\displaystyle 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 πŸ‘ {\displaystyle \alpha _{1},\ldots ,\alpha _{n}}
are positive real numbers such that πŸ‘ {\displaystyle (\lfloor k\alpha _{i}\rfloor )_{k,i\geq 1}}
contains all positive integers exactly once, then πŸ‘ {\displaystyle n\leq 2.}
That is, there is no equivalent of Rayleigh's theorem for three or more Beatty sequences.[6][7]

References

[edit]
  1. ^ a b c Gardner, Martin (March 1977). "Mathematical Games: Cornering a queen leads unexpectedly into corners of the theory of numbers". Scientific American. 236 (3): 131–141. JSTOR 24953943.
  2. ^ Morrison, D. R. (1980). "A Stolarsky array of Wythoff pairs". A Collection of Manuscripts Related to the Fibonacci Sequence (PDF). Santa Clara, California: The Fibonacci Association. pp. 134–136.
  3. ^ Beatty, Samuel (1926). "Problem 3173". American Mathematical Monthly. 33 (3): 159. doi:10.2307/2300153. JSTOR 2300153.
  4. ^ S. Beatty; A. Ostrowski; J. Hyslop; A. C. Aitken (1927). "Solutions to Problem 3173". American Mathematical Monthly. 34 (3): 159–160. doi:10.2307/2298716. JSTOR 2298716.
  5. ^ a b John William Strutt, 3rd Baron Rayleigh (1894). The Theory of Sound. Vol. 1 (Second ed.). Macmillan. p. 123.{{cite book}}: CS1 maint: numeric names: authors list (link)
  6. ^ J. V. Uspensky, On a problem arising out of the theory of a certain game, Amer. Math. Monthly 34 (1927), pp. 516–521.
  7. ^ R. L. Graham, On a theorem of Uspensky, Amer. Math. Monthly 70 (1963), pp. 407–409.

Further reading

[edit]

External links

[edit]