Consecutive Integers Calculator

Find consecutive integers, even integers, or odd integers from a target sum or first term.

Result
—

How to calculate

With n terms, first term a, and spacing d, the sum is na + dn(n − 1) ÷ 2. Solve for a when the sum is given and verify the requested parity.

Worked example

Use Given Total sum · Sequence Consecutive integers · Number of terms 3 · Sum or first integer 18. The result is 18.

Input and result notes

Use between 1 and 100 terms. Negative integers are allowed.

OpenStax properties of real numbers

Related calculators