Skip to main content
OlympiadHQ

Browse · MathNet

Print

XXXI Brazilian Math Olympiad

Brazil counting and probability

Problem

Emerald writes integers in a table, one number in each entry of the table. She sums all the numbers in each row and in each column, obtaining 4018 sums. She notices that all sums are distinct. Is it possible that all such sums are perfect squares?
Solution
Yes, it is. For instance, consider the table
The sum of the numbers in each row except the last one is , , and the sum of the numbers in the last row is .

The sum of the numbers in each column except the first one is , , and the sum of the numbers in the first column is .

Note that all 4018 sums are distinct perfect squares, so we are done.
Final answer
Yes

Techniques

OtherOther