Recursive

Recursive

Recursion

In Math

An example used in math might come from an ordered list of numbers, also known as a sequence. Consider the sequence below:

1, 3, 5, 7, 9 . . .

Step 1. What is the first term?

The first term in the sequence is 1.

Step 2. What has to be done to the first term to yield the second term?

If you add 2 to the first term, you get the second term.

Step 3. Does this pattern continue?

If you add 2 to the second term, you get the third term and so on. You can get to any term in the sequence by adding two to the term before it.