The rate in a arithmetic sequence can be determined by the subtraction of two subsequent terms:

So, using the second term equal to 5 and the first one equal to 15, we have:

Now, using the formula for the nth term of a arithmetic sequence, we have:

Now, for the geometric sequence, the rate is given by the division of two subsequent terms:

So we have that:

The nth term of a geometric sequence is given by:
