Here is a way to iterate... To me, it is like mixing math and computers. You can find the ideas described in much more detail in Generatingfunctionology by Wilf. Knowing Calculus is very helpful for this.
Let me explain. We would like to iterate through infinity and stop. To do this, we will use a function that is like a set. It is called a "generating function". You can find a description in more advanced English here. The idea is that we use numbers (integers) to give order to the set. (This makes it a sequence). We start with the number 0 (like people often do with computers) and give it a value from the set. Suppose we give it the value 53. Then we say this as a generating function by saying $f(x)$, our function of $x$, is equal to $53 x^0$:
$f(x) = 53x^0$
It is like a power series, if you are familiar with calculus. We raise $x$ to the 0th power, and then multiply it by 53. If we want to add a second number, say 42, we use $x$ to the first power:
$f(x) = 53 x^0 + 42 x^1$
The idea is that the powers of $x$ let us order the numbers. This also helps us seperate the numbers. If we add the numbers 8, 71, and 32, can you guess how to write this? The answer is:
$f(x) = 53x^0 + 42x^1 + 8x^2 + 71x^3 + 32x^4$
I hope this idea is clear. Now we want to create an infinite series. To do this, many people study power series. Many Calculus books study these. For example, a common one is:
$f(x) = 1x^0 + 1x^1 + 1x^2 + 1x^3 + \dots$
This is an like an infinite set of ones. It can be written as:
$\frac{1}{1-x} = 1x^0 + 1x^1 + 1x^2 + 1x^3 + \dots$
This means that the fraction on the left side is the same as the right side of the equals sign.
They are a function. The type of function is again a generating function.
The series of ones was given as:
$\frac{1}{1-x} = 1x^0 + 1x^1 + 1x^2 + 1x^3 + \dots$
Set $x$ to some value, and you will have iterated through an infinite amount of values. The result may be somewhat suprising, so I'll leave it up to you to pick a value. Remember that you can't divide by zero, so you'll have to be careful to avoid that. The study of Calculus and, in particular, limits helps provide a solution to that problem.