Maths Olympiad Prep

Track / Stage 8 / 180 of 180 #2360 of 2444

Problem 2360

IMO Shortlist mid-range; USAMO P2/P5
Number theory Difficulty 8.9 Prove it Vietnamese Team Selection Test for IMO · Vietnam

For every positive integer nn, let xn=C2nnx_n = C_{2n}^n.

1. Show that if 2017k2<n<2017k\frac{2017^k}{2} < n < 2017^k for some positive integer kk then xnx_n is a multiple of 20172017.

2. Find all positive integer h>1h > 1 such that there exist positive integers N,TN, T such that for all n>Nn > N then (xn)(x_n) is a periodic sequence mod hh with period TT.

This one wants a proof. Work it on paper, then read the official solution and mark yourself. Be honest about it: the record is only any use to you if it is.

Next problem →

Official solution

1) We prove that the statement is true for all odd prime pp instead of 20172017. Suppose there exists a positive integer kk such that pk2<n<pk\frac{p^k}{2} < n < p^k. We have
vp(xn)=vp(C2nn)=vp((2n)!)2vp(n!). v_p(x_n) = v_p(C_{2n}^n) = v_p((2n)!) - 2v_p(n!).
Because pk2<n<pk\frac{p^k}{2} < n < p^k so pk<2n<2pk<pk+1p^k < 2n < 2p^k < p^{k+1}, hence
vp((2n)!)=2np+2np2++2npk. v_p((2n)!) = \left\lfloor \frac{2n}{p} \right\rfloor + \left\lfloor \frac{2n}{p^2} \right\rfloor + \dots + \left\lfloor \frac{2n}{p^k} \right\rfloor.
On the other hand, for every xRx \in \mathbb{R}, we have 2x2x\lfloor 2x \rfloor \ge 2\lfloor x \rfloor, the equality holds for {x}<12\{x\} < \frac{1}{2}. Combined with the condition pk2<n<pk\frac{p^k}{2} < n < p^k, we have
vp((2n)!)>2(np+np2++npk)=2vp(n!), v_p((2n)!) > 2 \left( \left\lfloor \frac{n}{p} \right\rfloor + \left\lfloor \frac{n}{p^2} \right\rfloor + \dots + \left\lfloor \frac{n}{p^k} \right\rfloor \right) = 2v_p(n!),
or vp(xn)>0v_p(x_n) > 0 so we conclude that xnx_n is divisible by pp.

2) Suppose h>1h > 1 is the number satisfying the problem requirement. For every odd prime number pp then php \mid h, we have the remainders sequence xnx_n modulo pp is also periodic. Using the result of part 1), for pk2<n<pk\frac{p^k}{2} < n < p^k then
xn0(modp). x_n \equiv 0 \pmod{p}.
Choose kk be big enough for pk2>T+1\frac{p^k}{2} > T+1, we conclude that all the remainders of xnx_n divide pp equal 00 for all nn0n \ge n_0, where n0Z+n_0 \in \mathbb{Z}^+ is large enough. However, choose tZ+t \in \mathbb{Z}^+ which is large enough for pt1>2n0p^t - 1 > 2n_0 and set n=pt12n = \frac{p^t - 1}{2} we have vp(xn)=0v_p(x_n) = 0, so xnx_n is not divisible by pp, absurd.

Therefore hh has only prime divisors of 22 or h=2kh = 2^k with kk is a positive integer. If k>1k > 1, we choose r=k1r = k-1 and consider the number nn has the form n=2a1++2arn = 2^{a_1} + \dots + 2^{a_r}, where a1>max{T,N}a_1 > \max\{T, N\} where T,NT, N are constants in the hypothesis of hh. Then
v2(xn)=2S2(n)S2(2n)=r, v_2(x_n) = 2S_2(n) - S_2(2n) = r,
where S2(x)S_2(x) is the sum of the digits in the binary representation. Hence xn2k1(modh)x_n \equiv 2^{k-1} \pmod{h}. However, for every iZ+i \in \mathbb{Z}^+ that i<2a1i < 2^{a_1} then the 11 digit in the binary representation of n+in+i adds at least 11 unit, so that xn+i0(modh)x_{n+i} \equiv 0 \pmod{h}. Since a1>max{T,N}a_1 > \max\{T, N\} then xnxn+T0(modh)x_n \equiv x_{n+T} \equiv 0 \pmod{h}, absurd.

So k=1k = 1 and so h=2h = 2. This is the answer of problem, because it is easy to see that xnx_n is an even number for every positive integer nn, as follows: if n=2a1++2arn = 2^{a_1} + \dots + 2^{a_r} with 0a1<<ar0 \le a_1 < \dots < a_r then
2n=2a1+1++2ar+1 2n = 2^{a_1+1} + \dots + 2^{a_r+1}
so
v2(xn)=2S2(n)S2(2n)=r1. v_2(x_n) = 2S_2(n) - S_2(2n) = r \ge 1.
Hence xnx_n even. Therefore, h=2h = 2 is the number we have to find.

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