For a state , let and . If distinct states communicate, choose positive-probability paths and of lengths . Then is a return time to each. For every , concatenate , the -return loop, and to see that . Since divides this and , it divides . Thus , and interchanging the states gives . This proves period is constant on a communicating class.
Read the transition matrix from the original PDF; the converted TeX loses the location of the second row's final entry. The communicating classes are
Within the only internal cycle is . Return lengths are multiples of three, and length three has positive probability, so its period is three. This class is open because it has exits to other classes. The class is the closed deterministic two-cycle, of period two. The absorbing class is closed and has period one.
State 5 has outgoing transitions but no incoming transition at all, so it is an open singleton class and . For this return-free state in a Markov chain, the convention gives period zero; if period is defined only when positive return times exist, it is undefined instead. In particular, this singleton is not aperiodic: aperiodicity would require period one.