Example 1
Define a sequence where an = the decimal expansion of e to n decimal places. Find the first four terms of this sequence, starting with n = 1. |
Example 2
Evaluate the first four terms of the sequence defined by an = n2, starting with n = 1. |