Maths Olympiad Prep

Library / /14 of 19

, 2010

Number theory Difficulty 6.8 National Olympiad Prove it Canada

Three speed skaters have a friendly “race” on a skating oval. They all start from the same point and skate in the same direction, but with different speeds that they maintain throughout the race. The slowest skater does 11 lap a minute, the fastest one does 3.143.14 laps a minute, and the middle one does LL laps a minute for some 1<L<3.141 < L < 3.14. The race ends at the moment when all three skaters again come together to the same point on the oval (which may differ from the starting point.) Find how many different choices for LL are there such that exactly 117117 passings occur before the end of the race. (A passing is defined when one skater passes another one. The beginning and the end of the race when all three skaters are together are not counted as passings.)

Solutions — 2

Solution 1

Assume that the length of the oval is one unit. Let x(t)x(t) be the difference of distances that the slowest and the fastest skaters have skated by time tt. Similarly, let y(t)y(t) be the difference between the middle skater and the slowest skater. The path (x(t),y(t))(x(t), y(t)) is a straight ray RR in R2\mathbb{R}^2, starting from the origin, with slope depending on LL. By assumption, 0<y(t)<x(t)0 < y(t) < x(t).

One skater passes another one when either x(t)Zx(t) \in \mathbb{Z}, y(t)Zy(t) \in \mathbb{Z} or x(t)y(t)Zx(t) - y(t) \in \mathbb{Z}.

The race ends when both x(t),y(t)Zx(t), y(t) \in \mathbb{Z}.

Let (a,b)Z2(a, b) \in \mathbb{Z}^2 be the endpoint of the ray RR. We need to find the number of such points satisfying:
(a) 0<b<a0 < b < a
(b) The ray RR intersects Z2\mathbb{Z}^2 at endpoints only.
(c) The ray RR crosses 357357 times the lines xZx \in \mathbb{Z}, yZy \in \mathbb{Z}, yxZy - x \in \mathbb{Z}.

The second condition says that aa and bb are relatively prime. The ray RR crosses a1a-1 of the lines xZx \in \mathbb{Z}, b1b-1 of the lines yZy \in \mathbb{Z} and ab1a-b-1 of the lines xyZx-y \in \mathbb{Z}.

Thus, we need (a1)+(b1)+(ab1)=117(a-1) + (b-1) + (a-b-1) = 117, or equivalently, 2a3=1172a-3=117.

That is a=60a=60.

Now bb must be a positive integer less than and relatively prime to 6060. The number of such bb can be found using the Euler's ϕ\phi function:
ϕ(60)=ϕ(2235)=(21)2(31)(51)=16. \phi(60) = \phi(2^2 \cdot 3 \cdot 5) = (2-1) \cdot 2 \cdot (3-1) \cdot (5-1) = 16.
Thus the answer is 1616. \square

Solution 2

First, let us name our skaters. From fastest to slowest, call them: A, B and C. (Abel, Bernoulli and Cayley?)

Now, it is helpful to consider the race from the viewpoint of C. Relative to C, both A and B complete a whole number of laps, since they both start and finish at C.

Let nn be the number of laps completed by A relative to C, and let mm be the number of laps completed by B relative to C. Note that: n>mZ+n > m \in \mathbb{Z}^+

Consider the number of minutes required to complete the race. Relative to C, A is moving with a speed of 3.141=2.143.14 - 1 = 2.14 laps per minute and completes the race in n2.14\frac{n}{2.14} minutes. Also relative to C, B is moving with a speed of (L1)(L-1) laps per minute and completes the race in mL1\frac{m}{L-1} minutes. Since A and B finish the race together (when they both meet C):
n2.14=mL1L=2.14(mn)+1. \frac{n}{2.14} = \frac{m}{L-1} \quad \Rightarrow \quad L = 2.14 \left(\frac{m}{n}\right) + 1.
Hence, there is a one-to-one relation between values of LL and values of the positive proper fraction mn\frac{m}{n}. The fraction should be reduced, that is the pair (m,n)(m, n) should be relatively prime, or else, with n=gcd(m,n)n = \text{gcd}(m, n), the race ends after n/kn/k laps for A and m/km/k laps for B when they first meet C together.

It is also helpful to consider the race from the viewpoint of B. In this frame of reference, A completes only nmn - m laps. Hence A passes B only (nm)1(n - m) - 1 times, since the racers do not "pass" at the end of the race (nor at the beginning). Similarly A passes C only n1n - 1 times and B passes C only m1m - 1 times. The total number of passings is:
117=(n1)+(m1)+(nm1)=2n3n=60 117 = (n-1) + (m-1) + (n-m-1) = 2n-3 \Rightarrow n=60
Hence the number of values of LL equals the number of mm for which the fraction m/60m/60 is positive, proper and reduced. That is the number of positive integer values smaller than and relatively prime to 6060. One could simply count: {1,7,11,13,17,...}\{1,7,11,13,17,...\}, but Euler's ϕ\phi function gives this number:
ϕ(60)=ϕ(2235)=(21)2(31)(51)=16. \phi(60) = \phi(2^2 \cdot 3 \cdot 5) = (2-1) \cdot 2 \cdot (3-1) \cdot (5-1) = 16.
Therefore, there are 1616 values for LL which give the desired number of passings.

Note that the actual values for the speeds of A and C do not affect the result. They could be any values, rational or irrational, just so long as they are different, and there will be 1616 possible values for the speed of B between them. ☐

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.