Generalized Kolakoski sequence (source code)

= Generalized Kolakoski sequence

The generalized Kolakoski sequence is the generalization of the <Kolakoski sequence> where you don't need to restrict yourself to 1,2 but can instead use any a,b pair.