
I am trying to print out a set of numbers as a sum of continued fractions. For example, I have the set: {2,3,5,3,1} and I am trying to get a function to leave it in the form below:
Continued Fraction: 1/2 + 1/1/3 + 1/1/1/5+1/1/1/1/3+1/1/1/1/1/1/1
What is a good idea of a function or loop constru...