How to make a $4\times 4$ matrix each of $i$-th row and $i$-th column having all the elements $1,2,3,4,5,6,7$?

104 Views Asked by At

This question was asked as a puzzle in one Book of Puzzles by RS AGGARWAL, which stated the problem as to build an order N matrix where each i'th row and i'th column combined have all the elements from 1 to 2N-1.

For instance, for N=2

[3,2]
[1,3]

I want to know when is an answer possible for it for which values of N it is possible to make a matrix and how to make it?