MathLabs

Problem 4

An n×n n\times n matrix whose entries belong to S={1,2,…,2n−1} S=\{1,2,\ldots,2n-1\} is called a silver matrix if, for each i i , the i i th row together with the i i th column contains all elements of S S . Show that (a) there is no silver matrix for n=1997 n=1997; (b) silver matrices exist for infinitely many n n .
Step 1 of 4: Count entries two ways
In plain words

Count entries two ways

2n−12n-1
Detailed analysis

List all entries row by row and then column by column. Every matrix entry is listed twice, so each element of S S occurs an even number of times in this combined list.