2023 Pan-American Girls’ Mathematical Olympiad
Part of PAGMO
Subcontests
(6)numbers in a grid
Let n≥2 be an integer. Lucia chooses n real numbers x1,x2,…,xn such that ∣xi−xj∣≥1 for all i=j. Then, in each cell of an n×n grid, she writes one of these numbers, in such a way that no number is repeated in the same row or column. Finally, for each cell, she calculates the absolute value of the difference between the number in the cell and the number in the first cell of its same row. Determine the smallest value that the sum of the n2 numbers that Lucia calculated can take. Permutation of \(1,\ldots,2n\) in the sum of rows and columns
In each cell of an n×n grid, one of the numbers 0, 1, or 2 must be written. Determine all positive integers n for which there exists a way to fill the n×n grid such that, when calculating the sum of the numbers in each row and each column, the numbers 1,2,…,2n are obtained in some order.