// Math

ARITHMETIC SEQUENCE

Compute the nth term and the sum of the first n terms of an arithmetic progression.