Consecutive Integers Calculator - Sum and List Finder

Use the consecutive integers calculator to find the full list of n integers from a known sum or first value, including standard, even, and odd families.

Updated: June 16, 2026 • Free Tool

Consecutive Integers Calculator

Standard covers all integers, Even only covers 2, 4, 6, ..., Odd only covers 1, 3, 5, ...

Pick sum when a word problem tells you the total, pick first when you already know where the list starts.

Must be at least 2. Upper bound is 200 to keep the on-page list readable.

The total of all n integers when the input mode is sum, otherwise the first integer of the list.

Results

First integer
0
Last integer 0
Sum of the n integers 0
Mean of the n integers 0
List of n integers 0

What Is a Run of Consecutive Integers?

A consecutive integers calculator turns a one-line word problem into the full list of integers that satisfy it. Pick the integer family (standard, even, or odd), tell it whether you know the sum of the n integers or the first one, and it returns the first integer, the last integer, the actual sum, the mean, and the complete list.

  • Solve the textbook three-integer problem: Type the sum (for example 72) and n = 3 to read 23, 24, 25 in one line, the way the question is usually phrased.
  • Build a list that starts at a specific value: Set the input mode to known first and you get the next n integers and their sum for grading or pacing.
  • Generate even-only or odd-only ranges: Switch the family to even or odd when a problem or schedule needs that stream of integers.
  • Check a manual sum quickly: Drop a guessed first integer and n into the calculator to confirm the sum is what the problem statement requires.

A run of consecutive integers is just an arithmetic progression with a step of 1, so the same closed-form sum formula covers every list that comes up in pre-algebra and algebra 1 homework. The calculator wraps the formula, the parity check, and the list rendering in one tool.

Because every list of consecutive integers is an arithmetic progression with a step of 1, the Arithmetic Sequence Calculator is the natural parent tool when the step is anything other than 1, 2, or 2.

How the Closed-Form Solution Works

The consecutive integers calculator uses the closed-form sum of an arithmetic progression to solve for the first integer, then builds the list forward by the family step.

first = (sum - n(n-1)/2) / n last = first + (n-1) * step
  • n: How many consecutive integers. Integer of at least 2; capped at 200 on the page.
  • sum: Total of all n integers. For even-only and odd-only lists the formula shifts the offsets.
  • step: Gap between terms. 1 for standard, 2 for even-only, 2 for odd-only.
  • first: Smallest integer in the list, solved by the closed-form formula and then checked for parity.
  • last: Largest integer, equal to first + (n-1) * step.

According to Wolfram MathWorld, the n-th term of an arithmetic progression is a_n = a_1 + (n - 1) d, and the sum of the first n terms is n/2 (a_1 + a_n). A run of consecutive integers is the special case d = 1, so the same formulas give the entire list from the first integer, the count, and the family step. The parity check is what makes the even-only and odd-only families correct: even-only lists skip a term at every step, odd-only lists skip a term and start on an odd root, and the closed-form candidate is shifted by 1 when the rounded value lands on the wrong parity.

Three consecutive integers that sum to 72

n = 3, sum = 72, family = standard

first = (72 - 3) / 3 = 23; last = 23 + 2 = 25

23, 24, 25 (first = 23, last = 25, sum = 72, mean = 24)

The textbook three-integer problem: three consecutive integers that sum to 72 are 23, 24, and 25.

Four consecutive even integers that sum to 36

n = 4, sum = 36, family = even

first = (36 - 12) / 4 = 6; last = 6 + 6 = 12

6, 8, 10, 12 (first = 6, last = 12, sum = 36, mean = 9)

The sum-36 puzzle is uniquely satisfied by 6, 8, 10, 12.

According to Wolfram MathWorld, the n-th term of an arithmetic progression with first term a_1 and common difference d is a_n = a_1 + (n - 1) d, and the sum of the first n terms is n/2 (2 a_1 + (n - 1) d)

According to Wikipedia (Arithmetic progression), the sum of the first n terms of an arithmetic progression is n/2 (a_1 + a_n), and a list of consecutive integers is the special case with common difference 1

The mean row equals the average of the first and the last integer, which is the same two-input average the Average Calculator prints for the pair.

Key Concepts Explained

These four ideas are enough to use the consecutive integers calculator correctly on any word problem that involves a run of consecutive integers.

Consecutive integers as a progression

Any list of consecutive integers is an arithmetic progression with a common difference of 1, so the same a_n and S_n formulas apply.

Triangular number n(n-1)/2

The closed-form first integer subtracts the off-by-one triangular number n(n-1)/2 from the sum, the total of 1 + 2 + ... + (n-1) and the offset the 1, 2, 3, ... step accumulates.

Step of 1, 2, or 2 by family

Standard lists step by 1, even-only lists step by 2 starting on an even number, odd-only lists step by 2 starting on an odd number.

Mean as the midpoint

The mean of any n consecutive integers equals the average of the first and the last integer, the center of a symmetric list.

When n is even, the mean is the half-integer midpoint between the two central integers, not an integer in the list. The same formula handles negative consecutive integers because the step is still 1, 2, or 2, so a sum of 5 over 10 terms lands the list at -4, -3, -2, -1, 0, 1, 2, 3, 4, 5 with the mean sitting on 0.5.

When a word problem expresses the sum or the first integer as a fraction, the Adding Fractions Calculator reduces the fraction to a single value before it is fed into the closed-form formula.

How to Use This Calculator

Four short steps take you from a word problem to a verified list, with the consecutive integers calculator doing the closed-form solve in the middle.

  1. 1 Pick the integer family: Use Standard for any list of integers, Even only when the problem specifies even numbers, and Odd only when it specifies odd numbers.
  2. 2 Tell the calculator what you know: Choose Known sum for a problem that hands you a total, or Known first integer when the list starts at a value you can read out of the question.
  3. 3 Enter the count and the known value: Type the number of integers (n) and the sum or first integer. Both accept negative numbers, so problems that span zero are fine.
  4. 4 Read the list and the summary rows: The first integer, last integer, sum, mean, and full list rows appear together. Cross-check the sum row against the question to confirm the answer is the one expected.

A problem says: 'Find three consecutive integers whose sum is 72.' Pick Standard, Known sum, n = 3, known value = 72. The first integer is 23, the last integer is 25, the list is 23, 24, 25, and the sum row reads 72, matching the question.

If the known value does not produce a clean first integer for the chosen family, switch the input mode to Known first or pick a different family so the sum and n are compatible, then re-run the same four steps.

Benefits of Using This Calculator

The consecutive integers calculator removes the most common consecutive-integer mistakes and saves the step of solving for a first integer on paper.

  • One tool for all three families: Standard, even-only, and odd-only problems run through the same interface, so you do not have to remember which parity rule applies to which problem.
  • Closed-form solution, not a search: The first integer falls out of the formula in one pass, so the list is exact, the sum row matches the question, and there is no chance of dropping a term while walking through the list by hand.
  • Domain errors are explained: When a sum and count are not compatible with the chosen family, the calculator returns a clear message instead of a NaN, and the message names the family and the bad value.
  • Negative and zero-crossing lists work the same way: A list that crosses zero is still a constant-step progression, so the same formula returns -4, -3, -2, -1, 0, 1, 2, 3, 4, 5 for the sum-5, n-10 case without any special handling.
  • First integer mode is bidirectional: If a problem gives you the first integer, the calculator builds the list forward and reports the sum, so it doubles as a forward list generator for grading or pacing.

If you are working through a problem set and bouncing between the sum and the first integer, the consecutive integers calculator removes the chance of mixing up the formula. The mean row is the same value the average-calculator prints for any list, so the result feeds into a summary-statistic workflow without a second tool.

Factors That Affect Your Results

Three things change which answer the consecutive integers calculator can give you, plus two practical caveats about the way these lists behave.

Parity of the family

Standard accepts any integer answers, even-only needs the first integer and every term to be divisible by 2, and odd-only needs them to be odd. The closed-form candidate is rounded and shifted to enforce the rule.

Compatibility of n and the sum

For even-only and odd-only lists the sum must be a multiple of n. For standard lists the sum must leave the same remainder mod n as the offset 1 + 2 + ... + (n-1).

Sign of the known value

Negative sums produce lists that start at a negative integer, and the first integer row reports the negative value directly.

Count cap of 200

Long lists are still computed exactly, but the on-page list text is capped at 50 entries plus an ellipsis.

  • The calculator assumes a constant step within a single family. If your real-world series has a drifting step (such as a savings plan that adds 3% one month and 4% the next), the consecutive-integer model is only an approximation.
  • The list is rendered as integers only. If a problem hands you a known value that does not produce an integer first integer for the chosen family and count, the calculator returns a domain error rather than a fractional answer.

When the sum does not match a clean n-integer run, the right next step is usually to check whether the problem actually meant arithmetic progression with a step other than 1; the arithmetic-sequence-calculator covers the general case, and the mean-median-mode-range-calculator handles the summary statistics for the rendered list.

According to Khan Academy, an arithmetic sequence is a list of numbers in which the difference between consecutive terms is constant, and a list of consecutive integers is the special case with common difference 1

Once the list is rendered, the Mean Median Mode Range Calculator turns the same integers into a full set of central-tendency and range numbers without a second input round.

consecutive integers calculator showing the first integer, last integer, sum, mean, and full list for any n integers from a known sum or first value
consecutive integers calculator showing the first integer, last integer, sum, mean, and full list for any n integers from a known sum or first value

Frequently Asked Questions

Q: What is the formula for the sum of n consecutive integers?

A: The sum of n consecutive integers starting at a is S = n a + n(n-1)/2, which is the same as n/2 (a + last) when last = a + n - 1. The consecutive integers calculator uses this closed form so you never have to add the terms by hand.

Q: How do you find three consecutive integers whose sum is 72?

A: Run the consecutive integers calculator with n = 3, family set to Standard, and the known sum set to 72. The first integer is 23, the last is 25, and the list is 23, 24, 25, which checks out because 23 + 24 + 25 = 72.

Q: What is the sum of the first 100 consecutive integers?

A: The sum of the first 100 consecutive integers, starting at 1, is the triangular number 100 * 101 / 2 = 5,050. Enter n = 100, first = 1, family = Standard, input mode = Known first, and the sum row reports 5,050 with the full list of 1 to 100.

Q: How do you find consecutive even integers?

A: Set the family to Even only, choose the input mode (Known sum or Known first), and enter the values. The closed-form first integer is (sum - n(n-1))/n, and the list steps by 2, so for n = 4 and sum = 36 the answer is 6, 8, 10, 12.

Q: How do you find consecutive odd integers?

A: Set the family to Odd only and pick the input mode. The closed-form first integer is (sum - n^2)/n + 1, and the list steps by 2 starting on an odd integer. For n = 5 and first = 7 the answer is 7, 9, 11, 13, 15 with a sum of 55.

Q: Can consecutive integers be negative?

A: Yes. A consecutive integer list can include zero and negative integers, and the step is still 1, 2, or 2 depending on the family. For example, 10 consecutive integers that sum to 5 are -4, -3, -2, -1, 0, 1, 2, 3, 4, 5.