1.
Let A=(a12101210)A = \begin{pmatrix} a & 1 & 2 \\ 1 & 0 & 1 \\ 2 & 1 & 0 \end{pmatrix} and
B=I+adj(A)+(adjA)2++(adjA)10.B = I + \text{adj}(A) + (\text{adj}\,A)^{2} + \cdots + (\text{adj}\,A)^{10}.

Then, the sum of all the elements of the matrix BB is: