Find the value of the periodic continued fraction with the terms $1, 3, 4, 3, 2, 3, 4, 3, 2, 3, 4, 3, 2, . . .$
We see that it starts to be periodic after $1$, i.e, $3,4,3,2$ then $3,4,3,2$ etc...
I know that $x= \frac{A_{k+1}}{B_{k+1}}$ = $\frac{A_{k-1}+x.A_K}{B_{k-1}+x.B_K}$ where $q_{k+1}=x$
I have $$x={3+\cfrac{1}{4+\cfrac{1}{3+\cfrac{1}{2+\cfrac{1}{x}}}}}$$ for the periodic part. If I use my formula to compute the right-hand side, I will end up with a quadratic in $x$. Solving for $x$ gives me the following quadratic formula: $5x^2-14x-7=0$, then I did $1+\frac1x$ to find the whole continued fraction, and I got the same quadratic equation. Is this correct?
if we take $u=x+1,$ we find that u > 2 has purely periodic c.f. $(2,3,4,3).$
Next $$ \left( \begin{array}{cc} 2 & 1 \\ 1 & 0 \\ \end{array} \right) \left( \begin{array}{cc} 3 & 1 \\ 1 & 0 \\ \end{array} \right) \left( \begin{array}{cc} 4 & 1 \\ 1 & 0 \\ \end{array} \right) \left( \begin{array}{cc} 3 & 1 \\ 1 & 0 \\ \end{array} \right) = \left( \begin{array}{cc} 7 & 2 \\ 3 & 1 \\ \end{array} \right) \left( \begin{array}{cc} 13 & 4 \\ 3 & 1 \\ \end{array} \right) = \left( \begin{array}{cc} 97 & 30 \\ 42 & 13 \\ \end{array} \right) $$
Then $$ u = \frac{97u+30}{42u + 13} $$ gives $$ 42u^2 + 13 u = 97 u + 30 $$ or $$ 7 u^2 - 14 u - 5 = 0. $$ Since $u > 0,$ $$ u = \frac{7 + 2 \sqrt{21}}{7} = 1 + \frac{ 2 \sqrt{21}}{7} $$ and $x=u-1$ is $$ x = \frac{ 2 \sqrt{21}}{7} $$