Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 7.7.2 (Value of $\langle 9, \overline{9,18} \rangle$)
Exercise 7.7.2 (Value of $\langle 9, \overline{9,18} \rangle$)
Find the irrational number having continued fraction expansion .
Answers
Proof. Let . Then , so
Therefore
thus
so
Then
So
□
With Sagemath:
sage: cfe = continued_fraction([(9,), (9,18)]) sage: cfe.value() sqrt83 sage: verif = continued_fraction(sqrt(83)); verif [9; 9, 18, 9, 18, 9, 18, 9, 18, 9, 18, 9, 18, 9, 18, 9, 18, 9, 18, 9, ...]
2025-08-09 10:06