Exercise · ZW-CONVERGENT-OF-A-CONTINUED-FRACTION-004 · ★★☆ Intermediate

What is the convergent \( p_2/q_2 \) of \( [1;2,2] \)?

Choose one option.

Show answer
  • B. \( 7/5 \)

Explanation

Using \( p_2=a_2p_1+p_0 \) and \( q_2=a_2q_1+q_0 \), we obtain \( 7/5 \). The option \( 5/2 \) corresponds to the convergent \( p_1/q_1 \) instead of \( p_2/q_2 \).

Study Elementary number theory in ZWMath →

Review the concept: Convergent of a continued fraction

A convergent of a continued fraction \( [a_0; a_1, a_2, \ldots] \) is the rational number \( p_n/q_n \) obtained by truncating the expansion at the term \( a_n \).

\[\frac{p_n}{q_n}=[a_0;a_1,\ldots,a_n],\quad p_n=a_np_{n-1}+p_{n-2},\\q_n=a_nq_{n-1}+q_{n-2}\]

More practice problems: convergent of a continued fraction

← ZW-CONVERGENT-OF-A-CONTINUED-FRACTION-003 ZW-CONVERGENT-OF-A-CONTINUED-FRACTION-005 →