Arithmetic sequence report calculator
Enter a starting value, a constant step and the number of included terms. The report gives the final term and the sum without expanding a long list.
Result
- Last term
- 30
- Sum
- 165
- Terms
- 10
Count terms, including the first
Ten terms starting at 3 with step 3 end at 30 and sum to 165. There are nine steps between the first and tenth terms. A step of zero repeats the starting value; a negative step produces a decreasing sequence.
Formula and limits
The last term is first + (count − 1) × step. The sum is count × (first + last) / 2. Use a whole count from 1 through 10^12 and decimal starting values and steps with magnitude at most 10^20. Decimal arithmetic uses 50 significant digits; unusually long inputs or large products can round at that precision.