Related calculators
More free tools from the Mathematics, Numbers & Statistics collection:
Home / All calculators / Consecutive Integers Calculator
Mathematics · Free online calculator
Enter a target sum to list all representations using two or more positive consecutive integers. The search uses integer arithmetic so it does not rely on floating-point equality.
Enter values and calculate.
The calculator uses the entered values and displays the result in the browser. It does not send your calculation inputs to a server.
For N = 15, the positive runs are 7 + 8, 4 + 5 + 6, and 1 + 2 + 3 + 4 + 5. Each run has at least two terms, and each term is positive.
Only positive consecutive integers and sums of at least two terms are included. Zero, negative terms and the trivial one-term representation N are excluded. The target must be an integer from 3 through 1,000,000,000. An empty result means no positive run of two or more consecutive integers sums to that target.
The calculator excludes the trivial one-term representation and lists only sums with two or more terms.
No. This tool searches positive consecutive integers only.
A valid start must be an integer. Exact divisibility checks avoid accepting a near-integer due to floating-point rounding.
These educational sources support the mathematical method described on this page.
Scientific Calculator · Quadratic Equation Solver · All calculators
Friendly Calculator provides general educational tools. Check the method and assumptions before relying on any result.