# Calculating the continued fraction of $\sqrt{47}$ using a different result

I have calculated the continued fraction of $\alpha=\frac{6+\sqrt{47}}{11}$ which equals $\overline{[1,5,1,12]}$. Now I am asked to calculated the cont. fraction of $\sqrt{47}$ using this result. I am not sure whether there is a simple formula to calculate the continued fraction of $\sqrt{47}=11\alpha-6$.

I know the answer to be $\sqrt{47}=[6,\overline{1,5,1,12}]$ (checked by Mathematica) but it's not clear how to arrive at this result using our previous answer.

-

1
I think I found the answer: Those two cont'd fractions are nearly identical because $47=6^2+11$, and thus when calculating the continued fraction the second step in calculating $\sqrt{47}$ coincides with the first step of $\alpha$, thus those two expressions are the same from that point onwards. I.e., $(\sqrt{47}-6)^{-1}=\alpha$ – ClausW Mar 4 '12 at 13:52
Hint: $6=\sqrt{36}$ and $11=47-36$ (consider the conjugate!). (seeing your answer : yes you are right!) – Raymond Manzoni Mar 4 '12 at 13:54

## 2 Answers

$(\sqrt{47}-6)(\sqrt{47}+6)=47-36=11$, so $$(\sqrt{47}-6)\alpha=(\sqrt{47}-6)\left(\frac{\sqrt{47}+6}{11}\right)=1\;,$$ and $$\sqrt{47}-6=\frac1{\alpha}\;.$$

Clearly $\lfloor\sqrt{47}\rfloor=6$, so you know that $$\sqrt{47}=6+\frac1{\left(\frac1{\sqrt{47}-6}\right)}=6+\frac1\alpha=[6,\overline{1,5,1,12}]\;.$$

-

Just my comment of a minute ago, only you explained it better. Thanks. :) – ClausW Mar 4 '12 at 13:54
@Claus: I saw your comment just after I posted; good job. – Brian M. Scott Mar 4 '12 at 13:55

I know the answer to be $\sqrt{47}=[6,\overline{1,5,1,12}]$ (checked by Mathematica) but it's not clear how to arrive at this result using our previous answer.

No ingenuity is needed. The above observation makes the proof mechanical. The above is true

$$\iff\ \sqrt{47}\: =\: 6 + \dfrac{1}{\overline{1,5,1,12}}\: =\: 6 + \dfrac{1}\alpha\ \iff\ \alpha \:=\: \dfrac{1}{\sqrt{47}-6}\: =\: \dfrac{\sqrt{47}+6}{11}$$

-
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 15, "mathjax_display_tex": 4, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9184165596961975, "perplexity_flag": "middle"}