0

I thought about the following, as $a^2\leq a^2+1 \leq (a+1)^2$, then we have $a\leq \sqrt{a^2+1}\leq a+1$ so $\lfloor \sqrt{a^2+1}\rfloor=a$ but I am having trouble doing the same for the $2a,2a,\dots$ and even If I am able to do that, I don't know what I'd use to prove that all other elements are equal to $2a$.

Red Banana
  • 23,956
  • 20
  • 91
  • 192
  • 1
    Let $x=a+\dfrac1{2a+\dfrac1{2a+...}}$. Then $x-a=\dfrac1{2a+\dfrac1{2a+...}}=\dfrac1{2a+x-a}=\dfrac1{a+x}$ so $x^2-a^2=1$ or $x^2=a^2+1$ – J. W. Tanner Nov 19 '20 at 00:47

2 Answers2

2

Note that $(\sqrt{a^2+1} +a) (\sqrt{a^2+1} -a)=1$. This can be rearranged to give \begin{eqnarray*} \sqrt{a^2+1}=a+ \frac{1}{a+\sqrt{a^2+1}}. \end{eqnarray*}

Donald Splutterwit
  • 36,613
  • 2
  • 26
  • 73
2

You get then that the fractional part of $\sqrt{a^2+1}$ is $\sqrt{a^2+1}-a,$ multiply and divide by $\sqrt{a^2+1}+a$ you get $$\sqrt{a^2+1}=a+\frac{1}{\sqrt{a^2+1}+a}=a+\frac{1}{2a+(\sqrt{a^2+1}-a)},$$ so you will always get the same expression for the integer part.

Phicar
  • 14,722