I try to understand why by definition
- $[c_0,c_1,\ldots,c_n]=[c_0,[c_1,\ldots,c_n]]$ and also
- $[c_0,c_1,\ldots,c_n]=[c_0,c_1,\ldots,c_{n-2},[c_{n-1},c_n]]$ .
Those are continued fractions, and $1$ and $2$ are notes I have in the lecture summery.
But we can add bracket where we we want. for example:
$[c_0,c_1,\ldots,c_n]=[c_0,c_1,[c_2,\ldots,c_n]]$
Thanks!
It's a fairly easy inductive proof that you can write $$[c_0, c_1, c_2, \dots, c_{n-1}, c_n] = [c_0, [c_1, [c_2, \cdots [c_{n-1}, c_n] \cdots ]]]$$ and you can add or remove any of the sets of square brackets that appear on the right-hand side as you please. That is, you can stick a $[$ where you like as long as the closing $]$ is right at the end, not somewhere in the middle
What you can't do is add square brackets into the left-hand side willy-nilly. For instance, in general, $$c_0+\dfrac{1}{c_1+\frac{1}{c_2}} = [c_0, [c_1, c_2]] \ne [[c_0, c_1], c_2] = c_0+\dfrac{1}{c_1}+\dfrac{1}{c_2}$$