proof of Beatty’s theorem
We define and . Since and are irrational, so are and .
It is also the case that for all and , for if then would be rational.
The theorem is equivalent with the statement that for each integer exactly element of lies in .
Choose integer. Let be the number of elements of less than .
So there are elements of less than and likewise elements of .
By definition,
and summing these inequalities gives which gives that since is integer.
The number of elements of lying in is then .