The number of all $3 \times 3$ matrices $A$, with entries from the set $\{-1, 0, 1\}$ such that the sum of the diagonal elements of $AA^T$ is 3, is ____________.
Numerical-value question: the answer is a number.
Show answer
The answer is 672.
Key from source paper