The principle illustrated by this example can be extended to any power
of P and the matrix pn can be defined as the matrix whose element Pij
represents the probability that the system will be in state j after n time
intervals given that it started in state i.