Consecutive Integers

Find N consecutive integers that sum to a given target using this free online consecutive integers calculator. Enter the sum and the number of integers to instantly generate the complete consecutive sequence for algebra, number theory homework, puzzles, and daily math problems.

Calculate

About This Calculator

A consecutive integers calculator finds a set of whole numbers that follow each other in order (like 7, 8, 9) and add up to a given total. This tool is essential for algebra students solving classic word problems ("Find three consecutive integers whose sum is 72") and for anyone checking their work on number puzzles.

To find N consecutive integers that sum to a target S, the calculator uses the formula: starting integer = (S - N(N-1)/2) / N. For example, four consecutive integers summing to 78 are 18, 19, 20, and 21. The calculator instantly validates whether a solution exists -- the starting integer must be a whole number for the set to be valid.

Applications of consecutive integers extend beyond the classroom: they appear in puzzle design, number theory, age word problems, and even programming interview questions that involve arithmetic sequence relationships. This calculator supports any sum and any positive integer count, returning the full sequence in one click.

Frequently Asked Questions

What are consecutive integers?

Consecutive integers are whole numbers that follow each other in order without gaps, such as 5, 6, 7, 8. Each integer is exactly one more than the previous one. Consecutive integer problems ask you to find a set of whole numbers that follow each other and add up to a specific total.

How do you find consecutive integers given their sum?

To find N consecutive integers that sum to S, use the formula: starting integer = (S - N(N-1)/2) / N. For example, to find 3 consecutive integers that sum to 30: start = (30 - 3x2/2) / 3 = (30 - 3) / 3 = 9, so the integers are 9, 10, and 11. This calculator applies this formula instantly for any valid sum and count.

Can the consecutive integers include negative numbers?

Yes, consecutive integers can include negative numbers as well as positive numbers and zero. For example, three consecutive integers that sum to 0 are -1, 0, 1. The formula works for any integer sum, whether positive, negative, or zero, as long as the result is a whole number.

What if the starting integer is not a whole number?

If the calculated starting integer is not a whole number, it means no set of consecutive integers exists for the given sum and count. For example, there is no set of two consecutive integers that sums to 10 because (10 - 1) / 2 = 4.5 is not an integer. The calculator only displays a result when the solution is valid.

Is this calculator free to use?

Yes, all calculators on Calculy are completely free to use with no registration, no hidden fees, and no usage limits. You can bookmark the page or share the URL with pre-filled values.

What grade level is the consecutive integers concept taught?

Consecutive integer word problems are typically introduced in pre-algebra and Algebra 1 courses for middle and high school students (grades 7-9). They help students practice setting up linear equations and solving for unknown values, building foundational skills for more advanced algebraic reasoning.