Processing math: 100%
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

For each nonnegative integer k, you could find the possible tuples of matrices (A1,...,Ak) as follows:

  • for each of -1, 0, 1, find the ways to write it as a sum of k summands each in {-1, 0, 1}.

  • the target matrix M has n2 entries mi,j; so the (A1,...,Ak) are obtained by combining all the possible ways to get each entry.