There is such a task: For the sequence A1 = 1, An + 1 = An + 1 / (1 + An), make up the program for printing the k-th member as an ordinary irreducible fraction. For example, A2 = 3/2, A3 = 19/10.
I can write the program myself, I can not figure out where the numbers come from A2 = 3/2, A3 = 19/10. If we assume that the formula: A2 = 1 + 1 / (1 + 1) = 3/3, A3 = 2 + 1 / (1 + 2) = 3/3. Where are the numbers 3/2, 19/10? How to get them?