Given a matrix S where each entry can only be either 1 or -1, how many different matrices can we construct such that:
Further: If we randomly generate a matrix with +1 and -1 elements only, what's the probability the we get such a matrix?