DR.WANG Mathematics中文

BMO2 · 2025/26 · 2026-01-21 · Question 3

Counting & combinatorics · Grid problems

Problem outline

Fill a square array with 30 rows and 30 columns using 300 copies each of −1-1, 00 and 11. Can the resulting list of 30 row totals and 30 column totals have no repeated value? Prove your answer.

Show answer and methods 1 methods

Answer

No. Distinct totals would have squared sum 18,91018{,}910, but every such grid has squared sum at most 18,00018{,}000.

Method 1 Bound the combined squared line totals

Let aija_{ij} be the entries and write Ri,CjR_i,C_j for the row and column totals. Since there are equally many 11 and −1-1 entries, ∑iRi=∑jCj=0\sum_i R_i=\sum_j C_j=0. Every line total is an integer from −30-30 to 3030.

If the 60 totals were distinct, they would contain all but one of these 61 integers. The sum of all 61 is zero, as is the sum of the 60 totals. Thus the omitted integer must be zero. Consequently L=∑iRi2+∑jCj2=2∑k=130k2=18,910L=\sum_i R_i^2+\sum_j C_j^2=2\sum_{k=1}^{30}k^2=18{,}910.

Count the contribution of each cell when multiplying entries by their line totals. We get ∑i,jaij(Ri+Cj)=L\sum_{i,j}a_{ij}(R_i+C_j)=L. Also ∑i,j(Ri+Cj)2=30L+2(∑iRi)(∑jCj)=30L\sum_{i,j}(R_i+C_j)^2=30L+2(\sum_iR_i)(\sum_jC_j)=30L: each row or column occurs 30 times.

Only 600 entries have nonzero square. Cauchy–Schwarz now yields L2≤(∑i,jaij2)∑i,j(Ri+Cj)2=600⋅30LL^2\le (\sum_{i,j}a_{ij}^2)\sum_{i,j}(R_i+C_j)^2=600\cdot30L. As L>0L>0 under the distinctness assumption, this forces L≤18,000L\le18{,}000, a contradiction.

Source and attribution

The outline and worked methods on this page were prepared for DR.WANG Mathematics.

Original question (external)