Periodic Markov chain (source code)

= Periodic Markov chain
{wiki}

A periodic chain can return to a state only at times sharing a common divisor greater than one.