Calculate the sum of an arithmetic series from the first term, last term, and number of terms.
Category: Education.