IMC / 2024 / Problems / Day 1, P3
IMC 2024 · Day 1 · P3
mediumFor which positive integers does there exist an matrix whose entries are all in , such that is the matrix of all ones?
(proposed by Alex Avdiushenko, Neapolis University Paphos, Cyprus)
Solution (official)
Hint: Let be the matrix with all ones. Consider .
Answer: Such a matrix exists if and only if is a complete square.
Let be the matrix with all ones, so . Consider the equality In the matrix , all columns are equal to the sum of colums in , that is, the th entry in is the number of ones in the th row of . Similarly, the th entry in is the number of ones in the th column of . These numbers must be equal, so contains the same number of ones in every row and every column. Let this common number be ; then .
Now from we can read , so must be a complete square.
It remains to show an example for a matrix of order . For , let be the matrix whose th entry is 1 if and 0 otherwise, i.e., can be obtained from the identity matrix by cyclically shifting the colums times, and let The th block in is so this matrix indeed satisfies .
How the field did
Score distribution (field cohort)
Computed on contestants with a meaningful total (field cohort); discrimination is the corrected item–total correlation.