[Math| Series| Sequence| Counting] Finds the last term in the arithmetic sequence. Consider a finite arithmetic sequence with n terms in which a1 is the first term, an is the last term, and d is the common difference.
Inputs for formula:
n is the number of terms in the sequence
a1 is the first term in the sequence
d is the common difference
Output for formula:
returns the last term of an arithmetic sequence
