OEIS sequence A245869 is titled "T(n,k)=Number of length n+2 0..k arrays with some pair in every consecutive three terms totalling exactly k".
Thus, for example, $T(2,3) = 100$ because there are exactly $100$ arrays consisting of $2+2=4$ numbers from $\{0,1,2,3\}$ with at least one pair in every consecutive $3$ terms totalling $3$. For example, $[1,2,1,0]$ is included because in the first $3$ terms we have $1 + 2 = 3$ and in the second $3$ we have $2 + 1 = 3$. But $[1,0,1,2]$ is not included because in the first $3$ terms we have no pair summing to $3$.
"Empirical" recurrence formulas for the first $9$ columns are listed in the OEIS entry, e.g. for column 3 we have $a(n) = 2 a(n-1)+2 a(n-2)-a(n-3)$. I have been able to verify, using linear algebra, each of these column recurrence formulas and more. That is, for each $k$ I construct a $(k+1)^2$ by $(k+1)^2$ matrix $M$ such that $a(n) = e^T M^n e$, where $e$ is a $(k+1)^2$-dimensional vector of all $1$'s. The recurrence formula then corresponds to $P(M) e = 0$ where $P$ is a polynomial. It soon becomes apparent that there is a pattern for $k \ge 3$:
If $k\ge 3$ is odd, the recurrence is $a(n) = 2 a(n-1)+(k-1) a(n-2)-a(n-3)$.
If $k\ge 4$ is even, the recurrence is $a(n) = 3 a(n-1)+(k-1) a(n-2)-a(n-3) - (2k-3) a(n-4) - (k^2-2k) a(n-5) + (k-1) a(n-6)$.
It is a routine Maple computation to verify this for any particular $k$ (as long as the matrix is not too big to fit in the computer). But I don't see how to prove that the pattern holds for all $k$. Can anyone help?