Olympiad Maths Prep

Track / Stage 7 / 268 of 300 #1668 of 2000

Problem 1668

National olympiad second round; IMO P1/P4
Combinatorics Difficulty 7.7 Prove it

An [i]nn-city[/i] is an n×nn \times n grid of positive integers such that every entry greater than 1 is
the sum of an entry in the same row and an entry in the same column. Shown below is an
example 33-city.
(112231641)\begin{pmatrix} 1 & 1 & 2 \\ 2 & 3 & 1 \\ 6 & 4 & 1 \end{pmatrix}
(a) Construct a 55-city that includes some entry that is at least 150150. (It is acceptable simply to write the 55-city. You do not need to explain how you found it.)
(b) Show that for all n1n \ge 1, the largest entry in an nn-city is at most 3(n2)3^{\binom{n}{2}}.

This one wants a proof. Work it on paper, read the official solution, then mark yourself honestly — the ladder only means something if the record is true.

Official solution

### Part (a)

Construct a 55-city that includes some entry that is at least 150150:

(116219822631417655417155391514101658431131) \begin{pmatrix} 1 & 16 & 2 & 198 & 22 \\ 63 & 1 & 4 & 176 & 5 \\ 54 & 17 & 1 & 55 & 39 \\ 15 & 14 & 10 & 1 & 6 \\ 58 & 4 & 3 & 113 & 1 \end{pmatrix}

### Part (b)

LEMMA: The largest element in an nn-city is at most Fn2n+2F_{n^2 - n + 2}, where FaF_a denotes the aa-th term of the Fibonacci sequence defined by F0=0F_0 = 0, F1=1F_1 = 1, and Fn=Fn1+Fn2F_n = F_{n-1} + F_{n-2} for all integers n2n \ge 2.

PROOF:

1. Existence of 1 in Each Row:
- Note that in each row of a city, there exists at least one element that is equal to 11. By the well-ordering principle, this row of the city has a least term. Assume for the sake of contradiction that it is not equal to 11. If so, then it must be equal to the sum of another element in the row and a positive integer, meaning it must be greater than another element in the row, which contradicts the fact that it is the least term. Therefore, in each row of a city, there exists at least one element that is equal to 11, meaning that in an nn-city, there exist at least nn terms equal to 11.

2. Numbering Elements:
- Number the elements in order from greatest to least. Let EnE_n denote the element of the nn-city that is numbered with nn. Note the largest element is equal to E1E_1, and elements En2n+1E_{n^2-n+1} through En2E_{n^2} will all be equal to 11, as they are the nn smallest terms and there exist at least nn terms equal to 11.

3. Best-Case Scenario:
- Note that in a best-case scenario, each element is the sum of the two largest elements less than or equal to itself. This means that E1E2+E3    E1(E3+E4)+(E4+E5)E_1 \le E_2 + E_3 \implies E_1 \le (E_3 + E_4) + (E_4 + E_5) \ldots. Working downwards in this manner, we will eventually reach a string of elements equal to 11 whose sum is equal to E1E_1. The number of 11s in this string is equal to the maximum value of E1E_1 in this best-case scenario.

4. Final String Composition:
- Note that each element equal to 11 in this final string is either equal to En2n+1E_{n^2-n+1} or En2n+2E_{n^2-n+2}. The two are both achievable, as En2n1=En2n+1+En2nE_{n^2-n-1} = E_{n^2-n+1} + E_{n^2-n} and En2n=En2n+1+En2n+2E_{n^2 - n} = E_{n^2-n+1} + E_{n^2-n+2}. However, En2n+3En2E_{n^2-n+3} \ldots E_{n^2} could only be achieved by adding the two next-smallest elements together; however, since both of these must be equal to 11, they will not show up in the final string. This final string then consists exclusively of multiple instances of the elements En2n+1E_{n^2-n+1} and En2n+2E_{n^2-n+2}.

5. **Sequence Function f(x)f(x):**
- Define f(x)f(x) to be the number of sequences with first term 11 and last term xx such that the kk-th term of the sequence minus the k1k-1-th term of the sequence is equal to either 11 or 22 for all integers 2kx2 \le k \le x. I claim that the number of terms equal to 11 in the final string is at most f(n2n)+f(n2n+1)f(n^2 - n) + f(n^2 - n + 1).

6. Counting Terms:
- Note that the total number of instances of En2nE_{n^2-n} is equal to f(n2n)f(n^2-n). Each instance of En2nE_{n^2-n} will produce one instance of En2n+1E_{n^2-n+1} and one instance of En2n+2E_{n^2-n+2}. However, each instance of En2n1E_{n^2-n-1} will also directly add a new instance of En2n+1E_{n^2-n+1} (as En2n1E_{n^2-n-1} turns into En2n+En2n+1E_{n^2-n} + E_{n^2-n+1}, only the En2n+1E_{n^2-n+1} is added to the count). Therefore, the number of terms equal to 11 in the final string is equal to f(n2n)+f(n2n+1)f(n^2 - n) + f(n^2 - n + 1).

7. Fibonacci Sequence:
- Note that f(1)=1f(1) = 1 and f(2)=1f(2) = 1. In addition, f(k)=f(k1)+f(k2)f(k) = f(k-1) + f(k-2) (as the second-to-last term in any such sequence from 11 to kk can be k2k-2, yielding f(k2)f(k-2) sequences, or k1k-1, yielding f(k1)f(k-1) sequences). Therefore, f(k)=Fkf(k) = F_k, the kk-th Fibonacci number. The number of terms equal to 11 in our final string, and therefore our largest term E1E_1, is therefore at most Fn2n+Fn2n+1=Fn2n+2F_{n^2 - n} + F_{n^2 - n + 1} = F_{n^2 - n + 2}, as desired.

8. **Bounding with 3(n2)3^{\binom{n}{2}}:**
- Now, to prove that our largest term is at most 3(n2)3^{\binom{n}{2}}, it remains sufficient to show that Fn2n+23(n2)F_{n^2 - n + 2} \le 3^{\binom{n}{2}} for all positive integers n1n \ge 1. This is clearly true when n=1n = 1 as F2=1F_2 = 1 and 3(12)=13^{\binom{1}{2}} = 1, so it remains sufficient to demonstrate this for all positive integers n2n \ge 2. Note this can be proven by proving that F2k+23kF_{2k+2} \le 3^k for all positive integers k2k \ge 2 and then letting k=(n2)k = \binom{n}{2} for all possible values of nn. Binet's Formula states that the nn-th Fibonacci number is equal to ϕn(ϕ)n5\frac{\phi^n - (-\phi)^{-n}}{\sqrt{5}}. Letting n=2k+2n = 2k + 2 and substituting this in gives us ϕ2k+2(ϕ)2k253k    ϕ2k+2(ϕ)2k253k\frac{\phi^{2k+2} - (-\phi)^{-2k-2}}{\sqrt{5}} \le 3^k \implies \phi^{2k+2} - (-\phi)^{-2k-2} \le \sqrt{5} \cdot 3^k.

9. Simplifying the Inequality:
- Note that 2k+22k+2 is always even, so (ϕ)2k2=ϕ2k2(-\phi)^{-2k-2} = \phi^{-2k-2}. We then have ϕ2k+2+1ϕ2k+253k\phi^{2k+2} + \frac{1}{\phi^{2k+2}} \le \sqrt{5} \cdot 3^k. Since ϕ2k+2+1ϕ2k+2>ϕ2k+2\phi^{2k+2} + \frac{1}{\phi^{2k+2}} > \phi^{2k+2}, it is sufficient to show that ϕ2k+253k\phi^{2k+2} \le \sqrt{5} \cdot 3^k for all positive integers k2k \ge 2.

10. **Substituting ϕ\phi:**
- We substitute in 1+52\frac{1 + \sqrt{5}}{2} for ϕ\phi and multiply both sides by 22k+22^{2k+2}, which simplifies our inequality to (1+5)2k+222k+23k5(1 + \sqrt{5})^{2k+2} \le 2^{2k+2} \cdot 3^k \cdot \sqrt{5}. Note that 22k+2=4k+12^{2k+2} = 4^{k+1}, so the right-hand side is equal to 4k+13k5=12k454^{k+1} \cdot 3^k \cdot \sqrt{5} = 12^k \cdot 4\sqrt{5}.

11. Final Simplification:
- Our inequality has now been simplified to (1+5)2k+212k45(1 + \sqrt{5})^{2k+2} \le 12^k \cdot 4\sqrt{5}. Note that (1+5)2k+2=(6+25)k+1=(6+25)(6+25)k(1 + \sqrt{5})^{2k+2} = (6 + 2\sqrt{5})^{k+1} = (6 + 2\sqrt{5}) \cdot (6 + 2\sqrt{5})^k, further reducing this inequality to (6+25)(6+25)k12k45(6 + 2\sqrt{5}) \cdot (6 + 2\sqrt{5})^k \le 12^k \cdot 4\sqrt{5}. Dividing both sides by 12k12^k gives us (6+2512)k45(\frac{6 + 2\sqrt{5}}{12})^k \le 4\sqrt{5}. Note that this can be directly computed and shown to be true when k=2k = 2. Additionally, 0<6+2512<10 < \frac{6 + 2\sqrt{5}}{12} < 1. Higher values of kk will then be equivalent to repeatedly multiplying a value between 00 and 454\sqrt{5} by a value between 00 and 11, which will only further decrease the value of the LHS while keeping the RHS constant. Therefore, our inequality holds true for all k2k \ge 2, thus proving that the largest element in an nn-city can never be greater than 3(n2)3^{\binom{n}{2}} for all integer n1n \ge 1.

\blacksquare

The final answer is 3(n2)3^{\binom{n}{2}}

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