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., , , , and so on), their opposites (i.e., , , , and so on), and zero. However, note that the first sentence means that, say, 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, and : there's the mixed number , the decimal , or the 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, comes after , and there's nothing else (i.e., no integer) in between. Further consecutive integers are , , , , and so on; while going the other way, we have ..., , , , and (note how we put dots before since in this case, the list goes on forever in that direction).
Note how for an arbitrary integer , its consecutive numbers take the form , , , 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 (i.e., equals modulo ). 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, real-life 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 life-like 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 , , , and so on. Observe that we can't just copy that here. Indeed, for , the three expressions give , , and , while for they are , , and . Neither triple lists consecutive even integers nor consecutive odd integers.
At the beginning of this section, we said that even integers are divisible by . That means we can represent them in the form with some integer. Indeed, , , , etc.
On the other hand, odd numbers are not divisible by , or, equivalently, they give the remainder when divided by . Therefore, they differ by from some adjoining even number, so we can represent them in the form . Indeed, , , , 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 . Indeed, examples of such are , , , and , , , , respectively. Therefore, if some real-life scenario forces us to write such sequences algebraically, we can use:
- , , , , and so on for consecutive even integers; and
- , , , , 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 math problems 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 consecutive integers is equal to . 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 , , , ..., such that . From the first section, we know a clever way to write these numbers. To be precise, if we denote the smallest by , then the next ones will be , , , up to . 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 , and get:
which lets us calculate all the integers in question. However, remember that not all values of give an answer. In some cases, the at the end may turn out to be a fractional expression. That would mean no integers satisfy our conditions.
2. The product of consecutive integers is equal to . Find these integers.
This time, we're looking for consecutive numbers , , , ..., such that . Again, we can denote the smallest of these integers by 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 . Such things are far from simple, and there's no algorithmic way to solve high-order polynomial equations.
If , 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 , 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 , 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 trial-and-error, 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 . 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 in the box below. Then, we want the sum to equal , so we write 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 consecutive integers;
-
To equal ;
-
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 , 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 , , and , and indeed, .
For comparison, let's now try to find two consecutive odd integers whose product equals . 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 for some integer, so our problem translates to:
Or:
Simple calculations reveal that the quadratic equation has two solutions: and . Therefore, we have two pairs of consecutive odd integers that satisfy our assumptions: and , and and . Indeed, .
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.