An infinite road has traffic lights at intervals of m. The lights are all synchronised and are alternately green for minutes and red for 1 minute. For which can a car travel at a constant speed of m/s without ever going through a red light?
Answer.
Let be the position of the car at time s and let for some . With speed , the car will be at position at time s. Without loss of generality, we assume that and assume that the light is green at time s where
We want such that whenever if and only if .
The equation is equivalent to meaning that . Hence, we want for each , there exists an integer such that
for some integer . This means that for every integer ,
for some integer
i.e.
where . Here, we have that .
Let us discuss the case for . If we let , then the inequality becomes for every positive integer .
Lemma. If is a positive real number such that are all in the interval , then .
Sketch of proof of lemma. If , then we have that when is even and when is odd. This clearly satisfies the condition.
If is an irrational number, then the sequence is equidistributed on the interval . This is Weyl’s Equidistribution Theorem, but we can easily visualize what happens and prove a weaker statement regarding it being bouded by .
Suppose now that is a rational number for some relatively prime positive integers . Suppose that is a positive integer such that . Then, note that and hence if .
Hence, it must be the case that . But then, since , we must have . We can apply the same argument to the sequence and deduce that one of the elements of the sequence is .
According to the lemma, we must have that . This gives us solution meter/second for some non-negative integer . For example, , etc. will work.
This question appears as Brazilian Mathematical Olympiad 2000 Question 4 (first question on Day 2). Even though it looks like a physics problem, this problem involves very beautiful mathematics of rational and irrational numbers. What a surprise!
My solution above seems not so complete though since I assume that ; that is, the car starts at point (or complete, depending on how we interpret the question — it does not ask for all possible values of , right?) I am not sure how the solution will change. Do you have any idea how to resolve the case? Please let me know in the comment below. I hope you enjoy this problem as much as I do.
Update (21 Dec 2022). A more general version of the lemma would be are all . Here, and where . I believe that using similar argument, we can say the condition will hold iff and additionally, it must be the case that . Note that this condition is already sufficient, but I am not sure if this is also a necessary condition.
Note that from condition on , we must have for some non-negative integer . The condition on states that . Suppose that , then we have . This is true for example for (integers that are 2 modulo 5).