Probability of visiting state k at least once during first n steps in finite state Markov Chain
Assuming a Markov Chain of $M$ states, and assuming starting from state $X_0$, I was wondering if there is a method to calculate the probability of visiting state $X_k$ at least once during first n steps.
Any help would be greatly appreciated!