Quick guide
How to use this calculator
- Enter the target integer sum.
- Choose 2–1,000 terms and spacing 1 or 2.
- Read the unique sequence or the truthful no-solution state.
Calculation method
Solve the arithmetic-sequence sum
For first term a, count n, and step d, the sum is n(2a+(n−1)d)/2. Rearranging gives a; an integer sequence exists only when that value is integral.
Worked example
Three integers adding to 48
Subtract the spacing contribution 3, then divide 45 by 3 to get the first term 15.
15 + 16 + 17 = 48
Supported inputs
Precision and limits
Count
Choose from 2 through 1,000 terms.
Spacing
Step 1 gives consecutive integers; step 2 gives consecutive values of the same parity.
