(Numerical) Write an assignment statement to calculate the nth term in an arithmetic sequence. This is the formula for calculating the value, v, of the nth term:
v = a + (n - 1)d
d is the difference between any two numbers in the sequence.
a is the first number in the sequence.