We all know the Formula for P^n of a 2x2 Transition Probability matrix P

where P =

[ 1-a a ]
[ b 1-b ]

Does anyone know the Formula for P^n of a 3x3 Transition Probability matrix P?

Thanks