MathDB
Italian Mathematical Olympiad 2022 - Problem 4

Source:

May 6, 2022
combinatorics

Problem Statement

Alberto chooses 20222022 integers a1,a2,,a2022a_1,\,a_2,\dots,\,a_{2022} (not necessarily positive and not necessarily distinct) and places them on a 2022×20222022\times 2022 table such that in the (i,j)(i,j) cell is the number aka_k, with k=max{i,j}k=\max\{i,j\}, as shown in figure (in which, for a better readability, we have denoted a2022a_{2022} with ana_n). Barbara does not know the numbers Alberto has chosen, but knows how they are displaced in the table. Given a positive integer kk, with 1k20221\leq k\leq 2022, Barbara wants to determine the value of aka_k (and she is not interested in determining the values of the other aia_i's with iki\neq k). To do so, Barbara is allowed to ask Alberto one or more questions, in each of which she demands the value of the sum of the numbers contained in the cells of a "path", where with the term "path" we indicate a sorted list of cells with the following characteristics: • the path starts from the top left cell and finishes with the bottom right cell, • the cells of the path are all distinct, • two consecutive cells of the path share a common side. Determine, as kk varies, the minimum number of questions Barbara needs to find aka_k.