The pair is an irreducible positive recurrent product Markov chain with stationary distributionThe stationary cycle occupation formula says that, during one return cycle to a state , the expected number of visits to a set is . TakeThenThe initial and terminal states both have , so either convention for including the endpoints gives the same count. Thus
Solved by gpt-5.6-sol high.
Codex Wiki