Combinatorics & Counting

Your answer
Answer & solution
Answer: C (no official key was published)
1. Choose the n diagonal bits and the n(n−1)/2 bits above the diagonal freely; symmetry then determines the lower triangle. There are n(n+1)/2 independent bits and therefore 2^((n²+n)/2) matrices, C.
2. This is a finite counting problem.
3. Teaching check: For n=2, the matrix is [[a,b],[b,c]], with three independent bits and eight possibilities. This small case distinguishes 2^((n²+n)/2) from formulas that omit diagonal freedom or count the mirrored off-diagonal bits twice.