Category

Consecutive Integers Calculator — Find Any, Even & Odd Consecutive Numbers

Find N consecutive integers (any, even, or odd) given their sum. Instantly get the sequence, algebraic form, product, and mean. Solves classic math problems for 2 to 5 consecutive integers.

0 calculations

Calculation Parameters

Enter Parameters

Fill in the form on the left and click "Calculate"

What are consecutive integers?

By definition, integers are the numbers that we can represent without a fractional part — they consist of all positive whole numbers (1, 2, 3, …), their negatives (−1, −2, −3, …), and zero. The word consecutive means "following each other continuously." So, consecutive integers are whole numbers that follow one another in order, each differing from the next by exactly 1.

For example, 3, 4, 5 are three consecutive integers. For any starting integer x, the next consecutive integers are x+1, x+2, x+3, and so on.

How to use this calculator

This calculator finds N consecutive integers whose sum equals a given value. Simply select:

  • Number of integers — how many consecutive integers to find (2, 3, 4, or 5).
  • Type — Any integers, Even integers, or Odd integers.
  • Sum — the known total of all the integers.

The calculator instantly returns the individual integers, the algebraic form (e.g., x, x+1, x+2), the product, and the mean.

Consecutive odd/even integers

An integer is even if it is divisible by 2 (e.g., −4, 0, 2, 6), and odd if it is not (e.g., −3, 1, 5, 7). Consecutive even integers differ by 2: 2, 4, 6, 8, … Consecutive odd integers also differ by 2: 1, 3, 5, 7, …

In algebra, consecutive even integers are written as 2k, 2k+2, 2k+4, … and consecutive odd integers as 2k+1, 2k+3, 2k+5, …

The sum of consecutive integers — formula

For n consecutive integers starting at x (step = 1):

Sum = n·x + n·(n−1)/2, so x = (Sum − n·(n−1)/2) / n

For n consecutive even or odd integers starting at x (step = 2):

Sum = n·x + n·(n−1), so x = (Sum − n·(n−1)) / n

Example: find 3 consecutive integers with sum 12

Using the formula: x = (12 − 3·2/2) / 3 = (12 − 3) / 3 = 3. The integers are 3, 4, 5. Check: 3 + 4 + 5 = 12 ✓

Example: find 3 consecutive even integers with sum 12

Using the even formula: x = (12 − 3·2) / 3 = (12 − 6) / 3 = 2. The integers are 2, 4, 6. Check: 2 + 4 + 6 = 12 ✓

Example: find 3 consecutive odd integers with sum 15

Using the odd formula: x = (15 − 3·2) / 3 = (15 − 6) / 3 = 3. The integers are 3, 5, 7. Check: 3 + 5 + 7 = 15 ✓

FAQs

Can the result include negative integers?
Yes. If the sum is small (or negative), the first integer in the sequence can be negative or zero.
What if the sum doesn't produce whole numbers?
If the sum is not compatible with the chosen count and type, the calculator will display an error. For example, you cannot have 3 consecutive even integers with an odd sum like 9.
What is the product of consecutive integers?
The product is shown in the results. Note that consecutive integers starting near zero will give a product of zero. The product of n consecutive integers starting at 1 is n! (n factorial).
Is there a formula for the sum of the first n positive integers?
Yes: 1 + 2 + … + n = n·(n+1)/2. For example, 1+2+3+4+5 = 15.

Calculation History

Loading...