Exercise 7.1.1 (Some finite continued fractions)

Expand the rational fractions 17 3 , 3 17 , and 8 1 into finite simple continued fractions.

Answers

Proof. The Euclidean algorithm gives

17 = 3 5 + 2 , 3 = 2 1 + 1 , 1 = 1 1 + 0 .

Therefore

17 3 = 5 + 1 ( 3 2 ) = 5 + 1 1 + 1 2 = 5 , 1 , 2 .

With Sagemath:

sage: continued_fraction(17/3)
[5; 1, 2]

Since

3 = 0 17 + 3 ,

we obtain

3 17 = 0 + 1 ( 17 3 ) = 0 + 1 5 + 1 1 + 1 2 = 0 , 5 , 1 , 2 .

Finally

8 = 1 8 + 0 ,

so

8 1 = 8 .

User profile picture
2025-07-23 08:14
Comments