Look at the series of fractions. What is the relationship between the values in one fraction and the next one?
How can that relationship be used in a loop for solving the problem?

The first...