Fibonacci Calculation using a larger matrix So the formula to generate the fibonacci sequence in matrix form is:
$$
   \begin{pmatrix}
   1 & 1 \\
   1 & 0 \\
\end{pmatrix}^n = 
   \begin{pmatrix}
   F_{n+1} & F_n \\
   F_n & F_{n-1} \\
\end{pmatrix}
$$
So, is there a way to generalize it to a larger matrix, a 4x4 for example?

$$
   \begin{pmatrix}
   1 & 1 & 0 & 0 \\
   1 & 0 & 0 & 0 \\
   0 & 0 & 2 & 1 \\
   0 & 0 & 1 & 1 \\
\end{pmatrix}^n = 
   \begin{pmatrix}
   F_{n+1} & F_n & 0 & 0 \\
   F_n & F_{n-1} & 0 & 0 \\
   0 & 0 & F_{2n+1} & F_{2n} \\
   0 & 0 & F_{2n} & F_{2n-1} \\
\end{pmatrix}
$$
The point is you're asking for something very arbitrary
