Equations & Inequalities

Consecutive Integer Problems: How to Set Up and Solve Them

Call the first integer nn. Consecutive integers are n, n+1, n+2, …n,\ n+1,\ n+2,\ \dots, and consecutive even or odd integers are n, n+2, n+4, …n,\ n+2,\ n+4,\ \dots. Turn the sum, product or comparison in the story into one equation in nn and solve it.

n,  n+1,  n+2(even or odd: n,  n+2,  n+4)n,\; n+1,\; n+2 \qquad \text{(even or odd: } n,\; n+2,\; n+4\text{)}

The algebra is short, so the points are usually lost in three places: using the wrong step size, forgetting that a product equation has two roots, and not noticing when a problem cannot be solved at all. This page covers the setup, a faster method that skips most of the algebra, the no-solution check, and product and geometry cases, all in the translate-then-solve style of linear equation word problems.

How do you write consecutive integers in algebra?

Consecutive means each number is exactly 11 more than the one before it. Starting from nn, the list is n, n+1, n+2, n+3n,\ n+1,\ n+2,\ n+3, and so on. Everything else in this topic is a variation on that pattern.

Consecutive even and odd integers use a step of 22, and the reason is worth seeing once. Parity flips with every step of 11, so an even number becomes odd after one step and even again after two. Both families therefore follow n, n+2, n+4n,\ n+2,\ n+4, and the only difference is what nn may be. Writing n+1n+1 for the next odd number is the most common setup error, and it quietly produces an even number.

  • Two consecutive integers: n, n+1n,\ n+1
  • Three consecutive integers: n, n+1, n+2n,\ n+1,\ n+2
  • Three consecutive even integers: n, n+2, n+4n,\ n+2,\ n+4 with nn even
  • Three consecutive odd integers: n, n+2, n+4n,\ n+2,\ n+4 with nn odd

Some books write even integers as 2k, 2k+22k,\ 2k+2 and odd integers as 2k+1, 2k+32k+1,\ 2k+3. That form builds the parity in, which is ideal for proofs: two consecutive integers always sum to an odd number because n+(n+1)=2n+1n + (n+1) = 2n+1. For solving a word problem, nn and n+2n+2 are quicker, and the parity becomes a final check.

Quick check

The first of four consecutive odd integers is nn. Write the fourth one in terms of nn.

How do you solve consecutive integer sum problems?

The method has four moves: name the first integer nn, list the others, add them, and set the total equal to the given sum. Each variable term contributes one nn, and the constants are the offsets 0,1,2,…0, 1, 2, \dots added once. Sorting those two parts first keeps the arithmetic clean.

Example 1. Three consecutive odd integers add up to 117117. Find them.

Let nn be the smallest odd integer. The three integers are n, n+2, n+4n,\ n+2,\ n+4, so

n+(n+2)+(n+4)=117n + (n+2) + (n+4) = 117

3n+6=1173n + 6 = 117

3n=111⇒n=373n = 111 \quad\Rightarrow\quad n = 37

The integers are 37,39,4137, 39, 41. Check: 37+39+41=11737 + 39 + 41 = 117, and all three are odd. The equation 3n+6=1173n + 6 = 117 is a two-step equation: undo the +6+6, then undo the ×3\times 3.

The offsets here were 0+2+4=60 + 2 + 4 = 6, and that single number is where students slip when they distribute carelessly. Write the offsets on the side before building the equation, and the constant term is never a surprise.

What is the middle-number shortcut for sums?

Five consecutive integers from -25 to -21 balanced around the middle number -23 using sum divided by count
Five consecutive integers sum to -115, so the middle is -115 ÷ 5 = -23 and the rest sit 1 and 2 steps either side.

Consecutive numbers are evenly spaced, so they balance around the middle. When the count is odd, the sum is the count times the middle number, and the equation disappears. Divide, and the middle is found in one step.

Example 2. Five consecutive integers sum to −115-115. Find them.

middle=−1155=−23\text{middle} = \frac{-115}{5} = -23

The integers are −25,−24,−23,−22,−21-25, -24, -23, -22, -21. Check: −25−24−23−22−21=−115-25 - 24 - 23 - 22 - 21 = -115. The standard setup gives the same result: 5n+10=−1155n + 10 = -115 leads to n=−25n = -25.

Why the shortcut works

Numbers equally far from the middle mm pair up and cancel their offsets: (m−1)+(m+1)=2m(m-1) + (m+1) = 2m. Each pair contributes 2m2m, so the whole sum is the count times mm.

With an even count there is no single middle number, but the average still sits halfway between the two central ones. Four consecutive integers summing to 9090 have an average of 22.522.5, so they are 21,22,23,2421, 22, 23, 24. The general rule is the arithmetic series formula applied to a common difference of 11:

S=kn+k(k−1)2S = kn + \frac{k(k-1)}{2}

Here kk is how many integers there are. Solving that for nn is a small literal equation exercise, and it gives n=Sk−k−12n = \frac{S}{k} - \frac{k-1}{2}. For S=−115S = -115 and k=5k = 5 this is −23−2=−25-23 - 2 = -25, matching the example.

Why does a consecutive integer problem sometimes have no solution?

Because the sum of consecutive integers is not free to be any number. Three consecutive integers sum to 3n+33n + 3, which is always a multiple of 33, so a sum of 100100 is impossible. A fractional nn is the algebra telling you this, and the fix is to re-read the problem, not to round.

Type Sum of three The sum is always
Consecutive integers 3n+33n + 3 a multiple of 33
Consecutive even 3n+63n + 6 a multiple of 66
Consecutive odd 3n+63n + 6 an odd multiple of 33

The same logic works for other counts. Any odd count kk gives a multiple of kk. An even count never does: it leaves a remainder of k/2k/2. Four consecutive integers sum to 4n+64n + 6, so a sum of 5050 works (n=11n = 11, giving 11+12+13+1411 + 12 + 13 + 14) but a sum of 4848 fails because 4n=424n = 42 gives n=10.5n = 10.5. Two consecutive integers always sum to an odd number.

Run this divisibility check before solving. It takes five seconds and catches a mistyped number in a worksheet or an impossible exam item. If the sum passes the check and the algebra still gives a fraction, the setup is wrong.

Quick check

Can three consecutive even integers add up to 100100?

How do you solve products of consecutive even or odd integers?

Area model showing 11 times 13 equals 12 times 12 minus one square for consecutive odd integers
An 11 × 13 rectangle is a 12 × 12 square with one cell missing, so 143 + 1 = 144 gives the middle 12.

A product puts nn times n+2n+2 (or n+1n+1) in the equation, so n2n^2 appears and the equation becomes quadratic. Move everything to one side, factor, and keep both roots until the problem’s own conditions remove one.

Example 3. The product of two consecutive odd integers is 143143. Find them.

n(n+2)=143n(n+2) = 143

n2+2n−143=0n^2 + 2n - 143 = 0

(n+13)(n−11)=0⇒n=−13 or n=11(n+13)(n-11) = 0 \quad\Rightarrow\quad n = -13 \text{ or } n = 11

The pairs are 11,1311, 13 and −13,−11-13, -11. Check: 11⋅13=14311 \cdot 13 = 143 and (−13)(−11)=143(-13)(-11) = 143. The problem never said positive, so both pairs are correct answers, and dropping the negative pair is the usual lost point. If the quadratic does not factor, the quadratic formula handles it.

A faster route avoids factoring. Two numbers that sit equally far from a middle value mm multiply to m2−1m^2 - 1, so add 11 to the product and take a square root. Here 143+1=144143 + 1 = 144, so the middle is ±12\pm 12, giving 11,1311, 13 or −13,−11-13, -11. For two consecutive integers (no middle integer) the equivalent test is that 4⋅product+14 \cdot \text{product} + 1 must be a perfect square.

Try this: Find two consecutive odd integers with product 399399 by adding 11, taking the square root, and stepping one either side. Then write the negative pair. (Answer: 19,2119, 21 and −21,−19-21, -19.)

That test also shows when a product problem fails. For n(n+1)=100n(n+1) = 100, the value 4⋅100+1=4014 \cdot 100 + 1 = 401 is not a perfect square (202=40020^2 = 400 and 212=44121^2 = 441), so no integer pair exists.

Can the integers be negative, or can fractions appear?

Negatives need no new method, only care with words. Example 4. Three consecutive integers sum to −84-84, and the question asks for the largest.

3n+3=−84⇒n=−293n + 3 = -84 \quad\Rightarrow\quad n = -29

The integers are −29,−28,−27-29, -28, -27, so the largest is −27-27, not −29-29. Larger means further right on the number line. The same setup handles inequalities: “three consecutive integers have a sum less than 6060” gives 3n+3<603n + 3 < 60, so n<19n < 19, and the largest valid first integer is 1818. The rules for those are in solving linear inequalities.

When to throw out a root

Discard a solution only for a reason stated in the problem: it must be positive, even, odd or whole. A root is never wrong just because it is negative or looks unusual.

Fractions enter through the expressions, not the integers. Example 5. The reciprocals of two consecutive positive integers add to 712\frac{7}{12}.

1n+1n+1=712⇒12(2n+1)=7n(n+1)\frac{1}{n} + \frac{1}{n+1} = \frac{7}{12} \quad\Rightarrow\quad 12(2n+1) = 7n(n+1)

7n2−17n−12=07n^2 - 17n - 12 = 0

The discriminant is 289+336=625289 + 336 = 625, so n=17±2514n = \frac{17 \pm 25}{14}, which gives n=3n = 3 or n=−47n = -\frac{4}{7}. The second root is not an integer, so only n=3n = 3 stands, and the integers are 33 and 44. Check: 13+14=712\frac{1}{3} + \frac{1}{4} = \frac{7}{12}. This is the clear-the-denominators method from rational equations.

How do you translate more than and less than correctly?

Most wrong equations come from the wording, not the algebra. Build each phrase as its own piece before combining.

  • ”55 more than nn” is n+5n + 5
  • ”55 less than nn” is n−5n - 5, so ”55 less than twice the smallest” is 2n−52n - 5, not 5−2n5 - 2n
  • “the sum of the other two” leaves out the number being compared
  • “is” and “equals” become the equals sign

Example 6. Find three consecutive even integers such that four times the smallest is 1818 more than the sum of the other two.

Let the integers be n, n+2, n+4n,\ n+2,\ n+4. Four times the smallest is 4n4n. The other two sum to (n+2)+(n+4)=2n+6(n+2) + (n+4) = 2n + 6, and ”1818 more than” that is 2n+6+182n + 6 + 18.

4n=2n+244n = 2n + 24

2n=24⇒n=122n = 24 \quad\Rightarrow\quad n = 12

The integers are 12,14,1612, 14, 16. Check: 4⋅12=484 \cdot 12 = 48 and 14+16+1814 + 16 + 18 is wrong to use here; the other two sum to 14+16=3014 + 16 = 30, and 30+18=4830 + 18 = 48. The variable appears on both sides, which is the pattern in equations with variables on both sides.

Parity is the quiet test of correctness. Had the problem said 1717 instead of 1818, the same steps would give n=11.5n = 11.5. That is a sign the numbers cannot be consecutive even integers. A result of n=9n = 9 in an “even” problem means the same: a setup slip or an impossible problem.

Where do consecutive integers appear in geometry and real life?

Triangle sides and angles are the classic cases. If the sides are consecutive integers with perimeter 4848, then 3n+3=483n + 3 = 48 gives n=15n = 15 and sides 15,16,1715, 16, 17. Always run the triangle inequality afterward: 15+16=31>1715 + 16 = 31 > 17, so the triangle exists. A triangle’s angles can also be consecutive integers: 59∘,60∘,61∘59^\circ, 60^\circ, 61^\circ sum to 180∘180^\circ, which ties to the angle facts in types of angles.

Right triangles give a neat quadratic. If the sides are n, n+1, n+2n,\ n+1,\ n+2, the Pythagorean theorem says

n2+(n+1)2=(n+2)2⇒n2−2n−3=0⇒(n−3)(n+1)=0n^2 + (n+1)^2 = (n+2)^2 \quad\Rightarrow\quad n^2 - 2n - 3 = 0 \quad\Rightarrow\quad (n-3)(n+1) = 0

so n=3n = 3 (a length cannot be −1-1). The 3,4,53, 4, 5 triangle is the only right triangle whose sides are consecutive integers.

Everyday uses are plentiful. House numbers on one side of a street are consecutive odd or even numbers. Facing pages in a book are consecutive integers, with the left page even and the right page odd. If two facing pages add to 301301, then 2n+1=3012n + 1 = 301 gives n=150n = 150, so the pages are 150150 and 151151.

Quick check

The sides of a triangle are consecutive even integers and its perimeter is 4242. Find the sides.

How do you check a consecutive integer answer?

Run three checks, in this order. First, substitute the integers back into the original sentence, not your equation, because a wrong equation will pass its own check. Second, confirm the type: the gaps must be 11 for plain consecutive integers and 22 for even or odd, and the parity must match. Third, apply the context, such as positive only, a triangle inequality, or a page number that must be a whole number.

A quick reasonableness test is available for sums. The sum divided by the count should land near the middle of your list. If your three integers are 37,39,4137, 39, 41 and the sum is 117117, then 117÷3=39117 \div 3 = 39, which is the middle. A mismatch points straight to an arithmetic slip.

For product problems, always list both roots before filtering. Then state why any root is rejected, in words, as in ”n=−6n = -6 is not odd”. For more equations in this style, work through the multi-step equations practice problems.

Practice problems

0 of 5 solved

  1. Find three consecutive integers whose sum is 144144.

  2. Find two consecutive even integers whose sum is 190190.

  3. Four consecutive integers have a sum of −58-58. Find them.

  4. The product of two consecutive integers is 156156. Find all such pairs.

  5. Find three consecutive odd integers such that the product of the first two is 2626 more than the third.

Common questions

What are consecutive integers?

Consecutive integers are whole numbers that follow one another with no gaps, each exactly 11 more than the one before, such as −3,−2,−1,0-3, -2, -1, 0 or 41,42,4341, 42, 43. In algebra they are written n, n+1, n+2n,\ n+1,\ n+2, and so on.

What is the formula for consecutive odd integers?

Write them as n, n+2, n+4, …n,\ n+2,\ n+4,\ \dots where nn is odd. Another form is 2k+1, 2k+3, 2k+52k+1,\ 2k+3,\ 2k+5, which builds the oddness into the expression.

Why do consecutive even and odd integers both go up by 2?

Even and odd numbers alternate, so the next number of the same type is always two steps away. That is why n+2n+2 is the next even number after an even nn and the next odd number after an odd nn.

How do you find three consecutive integers with a given sum?

Divide the sum by 33 to get the middle integer, then take one less and one more. For a sum of 7272, the middle is 2424, so the integers are 23,24,2523, 24, 25.

Can consecutive integers be negative?

Yes. The list −9,−8,−7-9, -8, -7 is consecutive, and the same algebra applies. Be careful with words like largest and smallest: in that list the largest is −7-7.

Why do consecutive integer product problems give two answers?

A product equation is quadratic, so it usually has two roots, and two negative numbers multiply to a positive number. Both pairs are valid unless the problem says positive or restricts the type of integer.

Up next