How state-space models process sequences in linear time: the recurrent state, S4, the selection problem, Mamba's selectivity, the Mamba block and hybrids.