Find nth term of arithmetic sequence (#425)

Find nth term of arithmetic sequence (#425)

Use an=a1+(n−1)da_n = a_1 + (n-1)d.