(I have seen a similar question for n×n matrix. However the answer to it just points to an a link (http://oeis.org/A001499) without explaining how to get the result through combinatorics)
How do i find the number of a 4×4 matrix with each row and each column having two 1s and two 0s?
My approach:
I noted that 0011 0011 1100 1100
Follows the rule.
So i tried the fact that swapping any two rows and/or any two columns also satisfies the result.
But in this approach i am getting a lot of repetitions i cant handle.