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 9 , 9 , 18 ¯ .

Answers

Proof. Let 𝜃 = 9 , 18 ¯ . Then 𝜃 = 9 , 18 , 𝜃 , so

𝜃 = 9 + 1 18 + 1 𝜃 .

Therefore

𝜃 = h 1 𝜃 + h 0 k 1 𝜃 + k 0 = 163 𝜃 + 9 18 𝜃 + 1 ,

thus

18 𝜃 2 162 𝜃 9 = 0 , 𝜃 > 0 . (1)

so

𝜃 = 9 + 83 2 .

Then

ξ = 9 , 9 , 18 ¯ = 9 + 1 𝜃 = 9 + 2 9 + 83 = 83 .

So

9 , 9 , 18 ¯ = 83 .

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, ...]

User profile picture
2025-08-09 10:06
Comments