Transfer Matrices for Local Combinatorial Rules
A transfer matrix counts sequences by remembering just enough state to apply the next local constraint.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 1
- Reading time
- 1 min
For binary strings with no adjacent ones, keep states for the last digit zero or one. A new zero may follow either state, and a new one may follow only zero. The corresponding counts after \(n\) steps are a vector obtained by powering one fixed matrix.
\[\binom{z_{n+1}}{o_{n+1}}= \begin{pmatrix}1&1\\1&0\end{pmatrix}\binom{z_n}{o_n}.\]
Where the growth rate comes from
The matrix has characteristic polynomial \(t^2-t-1\), so each component satisfies the Fibonacci recurrence by Cayley–Hamilton. The dominant root \((1+\sqrt5)/2\) governs exponential growth. The same construction counts walks in a graph by taking its adjacency matrix.[1]