How to find the answer below equation?
$$\sum_{i=1}^\infty A^n = \ \begin{pmatrix} 0 & 1/2 & 1/2 \\ 1/2 & 0 & 1/2 \\ 1/2 & 1/2 & 0 \\ \end{pmatrix}$$
At first, I thought it is related to infinite geometric series. However, I could not find the answer.
Hint: Adding the identity on both sides you get $$\exp(A) = \pmatrix{1&\frac{1}{2}&\frac{1}{2}\\\frac{1}{2}&1&\frac{1}{2}\\\frac{1}{2}&\frac{1}{2}&1}\ .$$ Take the logarithm (diagonalizing might help).