a general approach to problems of this type, worked out for a slightly different continued fraction, is described in <A HREF="https://www.jstor.org/stable/25055738?seq=1#page_scan_tab_contents">Random Continued Fractions: A Markov Chain Approach</A> (2004).