Consecutive Integers Calculator
Welcome to Omni's consecutive integers calculator, where we'll tackle math problems concerning consecutive numbers. For example, we sometimes know the sum of three consecutive integers and would like to find the individual values themselves. We'll also cover two common variants of such exercises, i.e., where we limit ourselves to consecutive odd integers or consecutive even integers.
But before we get to such sophisticated questions, let's answer the fundamental one: what are consecutive integers?
What are consecutive integers?
By definition, integers are the numbers that we can represent without a fractional part. Equivalently, they consist of all positive whole numbers (i.e., $1$, $2$, $3$, and so on), their opposites (i.e., $1$, $2$, $3$, and so on), and zero. However, note that the first sentence means that, say, $4/2$ is also an integer since we can represent it as a whole number.
The meaning of consecutive is "following each other continuously." We know that we can put all real numbers in order on what we call the number line. Therefore, we can indeed say that one value "follows" another, by which we usually mean that it's larger. However, there are infinitely many numbers between, say, $3$ and $4$: there's the mixed number $3\tfrac{3}{4}$, the decimal $3.519$, or the $\pi$ from circle calculations. So, what are consecutive numbers?
In fact, what this term usually means is "consecutive integers." True, the simplification is misleading, and mathematicians might even call it conceptually wrong. Nevertheless, we need to embrace it.
So, what are consecutive integers? Using the two definitions above, they are whole numbers following each other. For instance, we know that among integers, $4$ comes after $3$, and there's nothing else (i.e., no integer) in between. Further consecutive integers are $5$, $6$, $7$, $8$, and so on; while going the other way, we have ..., $1$, $0$, $1$, and $2$ (note how we put dots before $1$ since in this case, the list goes on forever in that direction).
Note how for an arbitrary integer $x$, its consecutive numbers take the form $x + 1$, $x + 2$, $x + 3$, and so on. This simple observation will prove crucial in the calculations to come.
The meaning of consecutive numbers seems like a simple concept, don't you think? So let's spice it up a bit and add parity.
Consecutive odd/even integers
We say that an integer (positive or negative) is even if it's divisible by $2$ (i.e., equals $0$ modulo $2$). Otherwise, we say that it's odd. These terms describe what we call the parity of the integer.
🙋 Parity is an important concept in mathematics as in computer science. Discover with Omni how even and odd matter in your computer with our parity bit calculator!
Sometimes, reallife scenarios (by which we mean math textbooks) want us to only deal with consecutive even integers or consecutive odd integers. Omni's consecutive integers calculator decided to address such lifelike problems (i.e., help you get a good grade) and have the option to choose whether you need the values to be even, odd, or whichever.
In calculations, we will need to describe such integers algebraically. In the above section, we used $x$, $x+1$, $x + 2$, and so on. Observe that we can't just copy that here. Indeed, for $x = 5$, the three expressions give $5$, $6$, and $7$, while for $x = 6$ they are $6$, $7$, and $8$. Neither triple lists consecutive even integers nor consecutive odd integers.
At the beginning of this section, we said that even integers are divisible by $2$. That means we can represent them in the form $2 \cdot x$ with $x$ some integer. Indeed, $4 = 2 \cdot 2$, $18 = 2 \cdot 9$, $22 = 2 \cdot(11)$, etc.
On the other hand, odd numbers are not divisible by $2$, or, equivalently, they give the remainder $1$ when divided by $2$. Therefore, they differ by $1$ from some adjoining even number, so we can represent them in the form $2 \cdot x + 1$. Indeed, $7 = 2 \cdot 3 + 1$, $17 = 2\cdot 8 + 1$, $39 = 2 \cdot (20) + 1$, etc.
Remainder, quotient, modulus... What are those, again? Omni's quotient calculator, remainder calculator, and modulo calculator can help you untangle those terms!
Furthermore, observe that consecutive even integers and consecutive odd integers differ by $2$. Indeed, examples of such are $2$, $0$, $2$, $4$ and $5$, $3$, $1$, $1$, respectively. Therefore, if some reallife scenario forces us to write such sequences algebraically, we can use:
 $2x$, $2x + 2$, $2x + 4$, $2x + 6$, and so on for consecutive even integers; and
 $2x + 1$, $2x + 3$, $2x + 5$, $2x + 7$, and so on for consecutive odd integers.
And now it's time to use the above representation and apply it to a couple of math problems with consecutive numbers.
The sum/product of consecutive numbers
There are two
typical to consecutive integers. Below, we describe them together with some formulas that may help in finding the solution. Note that each can come in the consecutive even/odd integers variant.1. The sum of $n$ consecutive integers is equal to $S$. Find these integers.
Luckily, this one's quite simple, no matter if we're dealing with the sum of three consecutive integers or twenty.
In essence, we want to find consecutive numbers $a_1$, $a_2$, $a_3$, ..., $a_n$ such that $a_1 + a_2 + a_3 + ... + a_n = S$. From the first section, we know a clever way to write these numbers. To be precise, if we denote the smallest by $x$, then the next ones will be $x + 1$, $x + 2$, $x + 3$, up to $x + (n1)$. That gives:
If we now use commutativity of addition and simplify, we get:
Next, we observe that the summands in brackets form an arithmetic sequence. Therefore, we can use the formula for the sum of such a sequence and obtain:
Lastly, we move the constant term to the right, divide both sides by $n$, and get:
which lets us calculate all the integers in question. However, remember that not all values of $S$ give an answer. In some cases, the $x$ at the end may turn out to be a fractional expression. That would mean no integers satisfy our conditions.
2. The product of $n$ consecutive integers is equal to $P$. Find these integers.
This time, we're looking for consecutive numbers $a_1$, $a_2$, $a_3$, ..., $a_n$ such that $a_1 \cdot a_2 \cdot a_3 \cdot ... \cdot a_n = P$. Again, we can denote the smallest of these integers by $x$ and use the notation from the first section to get:
And here's when it becomes tricky. If we rewrite the above equation by using the distributive property of multiplication over addition, we'll get a complicated polynomial of order $n$. Such things are far from simple, and there's no algorithmic way to solve highorder polynomial equations.
If $n = 2$, i.e., we have a product of two consecutive, then the above equation looks like this:
or, equivalently:
We got a simple quadratic equation, so we can quickly solve it using the discriminant formula. Recall that such equations often have two solutions. In our case, this means that two pairs of consecutive integers satisfy our assumptions.
🙋 Use Omni's discriminant calculator and the quadratic formula calculator to find the solutions to a quadratic equation hassle free!
However, if $n = 3$, then things get more complicated. We get a cubic equation, and although there are still algorithms to solve them, it's not as easy as before. And as we go higher with $n$, things get even more troublesome.
The bright side is that we're only interested in integer solutions. In essence, this means that we can try to find the answer by trialanderror, i.e., check all reasonable integers and see if any of them fit. Omni's consecutive integers calculator does precisely that.
Alright, that seems like enough technicalities for now. We move on to examples that have actual numbers in them, and we'll take the opportunity to explain how to use the consecutive integers calculator.
Example of using the consecutive integers calculator
Suppose that we know that the sum of three consecutive integers is equal to $42$. Let's find those integers, but before we do this ourselves, let's see how Omni's consecutive integers calculator can do the job for us.
We should fill the variable fields in the tool so that they form a sentence describing our problem. First of all, since we have the sum of three consecutive integers, we choose "the sum" from the top list. Next, we're looking for three numbers, so we input $3$ in the box below. Then, we want the sum to equal $42$, so we write $42$ in the third line. Lastly, we choose "any" from the bottom list since we don't limit ourselves to only consecutive even or odd integers.
All in all, the consecutive integers calculator's fields should look like so (line by line):

I want the sum;

Of $3$ consecutive integers;

To equal $42$;

And I allow any integers.
Once we input all the data, the consecutive integers calculator will spit out the answer underneath. But before we reveal it, let's try to find it ourselves.
We begin by translating the problem into an algebraic expression. If we denote the smallest of the integers by $x$, then by following instructions from the first section, we can write the task as:
which, after simplification, gives:
Now we can solve the linear equation the usual way:
which means that our three integers are $13$, $14$, and $15$, and indeed, $13 + 14 + 15 = 42$.
For comparison, let's now try to find two consecutive odd integers whose product equals $63$. Again, we begin by how we can make the consecutive integers calculator do the dirty work.
This time, we're dealing with multiplication, so we choose "the product" from the top list. We have only two integers, so we input 2
into the second line, and we want the product to be 63
, so we write that number in the next box. Lastly, we choose "only odd" from the bottom list since we're interested only in such integers.
All in all, the consecutive integers calculator's fields should look the following:

I want the product

of
2
consecutive integers 
to equal
63

and I allow only odd integers.
Again, once we input all the data, the consecutive integers calculator will spit out the answer underneath. And again, we don't reveal it just yet!
To find the solution ourselves, recall from the second section how we can represent consecutive odd integers algebraically. To be precise, we denote the smaller one by $2x + 1$ for $x$ some integer, so our problem translates to:
Or:
Simple calculations reveal that the quadratic equation has two solutions: $5$ and $3$. Therefore, we have two pairs of consecutive odd integers that satisfy our assumptions: $9$ and $7$, and $7$ and $9$. Indeed, $\small (9)\cdot (7) = 7 \cdot 9 = 63$.
Voilà! Simple yet satisfying calculations, don't you think? Still, as we've mentioned, the formulas may get a bit messy if we decide to multiply too many binomials. Luckily, there's always Omni Calculator to save us the hassle!
FAQ
How do I find consecutive integers?
To find consecutive integers, you need to:

Specify what you need: any consecutive integers or only even/odd ones.

Denote the smallest of them by:

x
if you allow any integers; 
2x
if you want only even integers; or 
2x + 1
if you want only odd integers.


Write the next integers as:

x + 1
,x + 2
,x + 3
, and so on for any integers; 
2x + 2
,2x + 4
,2x + 6
, and so on for only even integers; or 
2x + 3
,2x + 5
,2x + 7
, and so on for only odd integers.


If needed, use the representation to describe the integers' properties.

Use the algebraic description to find the integers.

Enjoy your consecutive integers.
How do I solve consecutive integer problems?
To solve consecutive integer problems, you need to:
 Specify what you need: any consecutive integers or only even/odd ones.
 Denote the smallest of them by:
x
if you allow any integers;2x
if you want only even integers; or2x + 1
if you want only odd integers.
 Write the next integers as:
x + 1
,x + 2
,x + 3
, and so on for any integers;2x + 2
,2x + 4
,2x + 6
, and so on for only even integers; or2x + 3
,2x + 5
,2x + 7
, and so on for only odd integers.
 Use the representations to write equations, e.g., for the sum or product.
 Solve the equation in the usual way.
 Substitute the solution for
x
to find the integers.  Enjoy the solution to your consecutive integer problem.
How do I find consecutive odd integers?
To find consecutive odd integers, you need to:
 Denote the smallest of them by
2x + 1
.  Write the next integers as
2x + 1
,2x + 3
,2x + 5
, and so on.  If needed, use the representation to describe the integers' properties.
 Use the algebraic description to find the integers.
 Enjoy your consecutive odd integers.
How do I find three consecutive integers?
To find three consecutive integers, you need to:
 Specify what you need: any consecutive integers or only even/odd ones.
 Denote the smallest of them by:
x
if you allow any integers;2x
if you want only even integers; or2x + 1
if you want only odd integers.
 Write the next integers as:
x + 1
andx + 2
for any integers;2x + 2
and2x + 4
for only even integers; or2x + 3
and2x + 5
for only odd integers.
 If needed, use the representation to describe the integers' properties.
 Use the algebraic description to find the integers.
 Enjoy your three consecutive integers.
How do I find two consecutive integers?
To find two consecutive integers, you need to:
 Specify what you need: any consecutive integers or only even/odd ones.
 Denote the smallest of them by:
x
if you allow any integers;2x
if you want only even integers; or2x + 1
if you want only odd integers.
 Write the next integer as:
x + 1
for any integers;2x + 2
for only even integers; or2x + 3
for only odd integers.
 If needed, use the representation to describe the integers' properties.
 Use the algebraic description to find the integers.
 Enjoy your two consecutive integers.
How do I find two consecutive odd integers?
To find two consecutive odd integers, you need to:
 Denote the smallest of them by
2x + 1
.  Write the next integer as
2x + 3
.  If needed, use the representation to describe the integers' properties.
 Use the algebraic description to find the integers.
 Enjoy your two consecutive odd integers.