I have been given the infinite continued fraction of $\left[12, 2, 2, 12,\dots\right]$ where the first 12 is the natural number part and the remaining numbers repeat. I am familiar with how to convert real numbers into continued fractions, but I am stuck as to how to convert a continued fraction into a real number. I know that since this is infinite, it must be a irrational number, so it must be a $\sqrt{n}$ or $a + \sqrt{n}$. What is a good way to start approaching this question? Thank you.
2026-03-30 00:19:29.1774829969
On
Going from Infinite Continued Fraction to real numbers
677 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
2
There are 2 best solutions below
5
On
Another approach (I'm not sure if your first comma was intended to be a semicolon; in any event, you can modify slightly if your notation represents something different from the equations below, but the method is roughly the same):
If I am understanding your notation correctly, then you are considering the continued fraction:
Because of the repetition, this could be rewritten as:
Now, you have an equation with one variable. In trying to solve for $x$, you will come to see that this is a quadratic equation; thus, two possible solutions will arise. However, one of them will be negative and the other one will be positive. Since your constructed number is manifestly positive, you'll want the latter.


Hint: Call the value $x$. Subtract $12$, invert, subtract $2$, invert, subtract $2$, and invert. You get $x$ back again.
Write this down and solve for $x$.
$$x = \frac1{\frac1{\frac1{x-12}-2}-2} $$