Maths Olympiad Prep

Track / Stage 8 / 81 of 180 #1781 of 1964

Problem 1781

IMO Shortlist mid-range; USAMO P2/P5
Number theory Difficulty 8.2 Prove it

For each positive integer kk, let nkn_k be the smallest positive integer such that there exists a finite set AA of integers satisfy the following properties:
[list]
[*]For every aAa\in A, there exists x,yAx,y\in A (not necessary distinct) that
nkaxyn_k\mid a-x-y[/*]
[*]There's no subset BB of AA that Bk|B|\leq k and nkbBb.n_k\mid \sum_{b\in B}{b}.
[/list]
Show that for all positive integers k3k\geq 3, we've nk<(138)k+2.n_k<\Big( \frac{13}{8}\Big)^{k+2}.

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.

Official solution

To show that for all positive integers k3 k \geq 3 , we have nk<(138)k+2 n_k < \left( \frac{13}{8} \right)^{k+2} , we will use the Fibonacci sequence and properties of the set A A as described in the problem.

1. Define the Fibonacci Sequence:
Let Fi F_i be the Fibonacci sequence, with F1=F2=1 F_1 = F_2 = 1 . The general term is given by:
Fi+2=Fi+1+Fi F_{i+2} = F_{i+1} + F_i

2. **Construct the Set A A :**
For a given k k , consider the set A={a1,a2,,ak+1} A = \{a_1, a_2, \ldots, a_{k+1}\} where:
ai=(1)k1iFi+1fori=1,2,,k1 a_i = (-1)^{k-1-i} F_{i+1} \quad \text{for} \quad i = 1, 2, \ldots, k-1
and
ak=Fk+1,ak+1=Fk+2 a_k = F_k + 1, \quad a_{k+1} = F_k + 2

3. **Sum of Elements in A A :**
Calculate the sum of all elements in A A :
a1+a2++ak1+ak+ak+1=Fk1+ak+ak+1=Fk1+(Fk+1)+(Fk+2)=Fk1+2Fk+3 a_1 + a_2 + \cdots + a_{k-1} + a_k + a_{k+1} = F_{k-1} + a_k + a_{k+1} = F_{k-1} + (F_k + 1) + (F_k + 2) = F_{k-1} + 2F_k + 3
Using the Fibonacci property Fk1+Fk=Fk+1 F_{k-1} + F_k = F_{k+1} , we get:
Fk1+2Fk+3=Fk+2+3 F_{k-1} + 2F_k + 3 = F_{k+2} + 3
This suggests choosing n=Fk+2+3 n = F_{k+2} + 3 .

4. Verify the First Condition:
We need to show that for every aA a \in A , there exist x,yA x, y \in A such that nkaxy n_k \mid a - x - y .

- **Case 1: k k is even.**
For i=1,2,,k3 i = 1, 2, \ldots, k-3 :
ai=ai+1+ai+2 a_i = a_{i+1} + a_{i+2}
Additionally:
ak2ak+ak+1(modn),ak1=ak+1+a2,ak=ak1+a1,ak+1=ak+a1 a_{k-2} \equiv a_k + a_{k+1} \pmod{n}, \quad a_{k-1} = a_{k+1} + a_2, \quad a_k = a_{k-1} + a_1, \quad a_{k+1} = a_k + a_1

- **Case 2: k k is odd.**
For i=1,2,,k3 i = 1, 2, \ldots, k-3 :
ai=ai+1+ai+2 a_i = a_{i+1} + a_{i+2}
Additionally:
ak2ak+ak+1(modn),ak1=ak+a1,ak=ak+1+a1,ak+1=ak1+a2 a_{k-2} \equiv a_k + a_{k+1} \pmod{n}, \quad a_{k-1} = a_k + a_1, \quad a_k = a_{k+1} + a_1, \quad a_{k+1} = a_{k-1} + a_2
In both cases, the first condition is satisfied.

5. Verify the Second Condition:
We need to show that there is no subset BA B \subseteq A with Bk |B| \leq k such that nkbBb n_k \mid \sum_{b \in B} b .

- **Base Case: k=3 k = 3 **
For k=3 k = 3 , A={1,2,3,4} A = \{-1, 2, 3, 4\} . No subset of 3 elements has a sum divisible by F5+3=8 F_5 + 3 = 8 .

- Inductive Step:
Assume the statement holds for k1 k-1 . Since the sum of the elements of A A is 0(modn) 0 \pmod{n} , instead of B B , we can consider AB A \setminus B without changing anything. So our subset has only one of the elements (ak1,ak,ak+1)=(Fk,Fk+1,Fk+2) (a_{k-1}, a_k, a_{k+1}) = (F_k, F_k + 1, F_k + 2) .

We can find the minimum and maximum of a subset with at most k k elements of B B :
1Fk=(Fk1+Fk3+)bBb(Fk+2)+Fk2+Fk4+=Fk+1+1 1 - F_k = -(F_{k-1} + F_{k-3} + \ldots) \leq \sum_{b \in B} b \leq (F_k + 2) + F_{k-2} + F_{k-4} + \ldots = F_{k+1} + 1
If n=Fk+2+3 n = F_{k+2} + 3 divides bBb \sum_{b \in B} b , then bBb \sum_{b \in B} b must be 0. By the inductive step on k1 k-1 , B B can't be a subset of {a1,a2,,ak2} \{a_1, a_2, \ldots, a_{k-2}\} , so at least one of Fk,Fk+1,Fk+2 F_k, F_k + 1, F_k + 2 is in B B . Then:
bBbFkFk1Fk2=1>0 \sum_{b \in B} b \geq F_k - F_{k-1} - F_{k-2} - \ldots = 1 > 0
which gives us a contradiction. So the second condition is satisfied too.

6. Final Calculation:
Using ϕ=1+52 \phi = \frac{1 + \sqrt{5}}{2} :
nkFk+2+3<ϕk3(F5+3)=8ϕk3 n_k \leq F_{k+2} + 3 < \phi^{k-3}(F_5 + 3) = 8\phi^{k-3}
But 8<ϕ5 8 < \phi^5 , and ϕ<138 \phi < \frac{13}{8} , so:
nk<ϕk+2<(138)k+2 n_k < \phi^{k+2} < \left( \frac{13}{8} \right)^{k+2}
The conclusion follows.

\blacksquare

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.