A matrix A=(aij) is called nice, if it has the following properties:
(i) the set of all entries of A is {1,2,…,2t} for some integer t;
(ii) the entries are non-decreasing in every row and in every column: ai,j≤ai,j+1 and ai,j≤ai+1,j;
(iii) equal entries can appear only in the same row or the same column: if ai,j=ak,ℓ, then either i=k or j=ℓ;
(iv) for each s=1,2,…,2t−1, there exist i=k and j=ℓ such that ai,j=s and ak,ℓ=s+1.Prove that for any positive integers m and n, the number of nice m×n matrixes is even.
For example, the only two nice 2×3 matrices are (121212) and (121434). linear algebramatrixArrays