I too wish yo would tell us how you arrived at that count.How many 4 by 4 arrays with entries 1 or -1 such that all rows and columns sum to 0 are there?
Is the answer 3*4!*4! =1728?
If the first two rows are not the same, there will be 4 ways to fill out the third row. Are you sure of that?You did not explain how you got your answer. Here is my thinking on the problem. You may see an error in what I wrote. If not, see if you can finish my explanation and geet teh answer. (I did not get 1728.)
Each row must have two 1's and two -1's. Just doing the first row, there are 6 ways to fill it out. The second row would also have 6 ways to fill it out, and the first row being filled in does not restrict the second row. The third row will be restricted by filling in the first two rows. If the first two rows are the same, there will only be one way to fill out the third row. If the first two rows are not the same, there will be 4 ways to fill out the third row. The 4th row will only have one way to do it for each choice of the first 3 rows.
There are six possible strings that can be used as rows in a 4×4 grid.I mean that for each choice of the first two rows that is not the same, there will be 4 ways to fill out the third row. For example, if the first row is 1, 1, -1, -1 and the second row is 1, -1, 1, -1, see how many ways you can fill out the 3rd row.