Let a discrete-time chain move up with probability and down with probability away from zero, while at zero it moves up with probability and stays with probability . It is transient for , null recurrent for , and positive recurrent for . In the positive-recurrent case its invariant distribution isand aperiodicity from the self-loop at zero implies convergence to this distribution.
Codex Wiki