Exercise · ZW-CONTINUED-FRACTION-010 · ★★★ Advanced

Let \( x = [1; 2, 2, 2] \). Compute \( x \) as a rational number and check that the convergent \( p_2/q_2 \) approximates it from below.

Choose one option.

Show answer
  • A. \( 17/12 \), with \( p_2/q_2 = 7/5 \) less than \( x \)

Explanation

Working from the end: \( 2 + 1/2 = 5/2 \), then \( 2 + 2/5 = 12/5 \), and \( x = 1 + 5/12 = 17/12 \). The convergents are \( 1/1, 3/2, 7/5, 17/12 \), so \( p_2/q_2 = 7/5 \) lies below \( x \) because its index is even.

Study Elementary number theory in ZWMath →

Review the concept: Continued fraction

A continued fraction is an expression of the form a₀ + 1/(a₁ + 1/(a₂ + ...)), where a₀ is an integer and the remaining terms aᵢ are positive integers.

\[x = a_0 + \cfrac{1}{a_1 + \cfrac{1}{a_2 + \cfrac{1}{a_3 + \cdots}}}\]

More practice problems: continued fraction

← ZW-CONTINUED-FRACTION-009