MathDB
S<- S+1/S

Source: 2023 Czech-Polish-Slovak Match Junior, individual p5 CPSJ

May 5, 2024
algebra

Problem Statement

Bartek patiently performs operations on fractions. In each move, he adds its inverse to the current result, obtaining a new result. Bartek starts with the number 11: after the first move, he receives the result 2, after the second move, the result is 52\frac{5}{2}, after the third move 2910\frac{29}{10}, etc. After 300300 moves, Bartek receives the result xx. Determine the largest integer not greater than xx.