Consecutive Integers Formula
Integers are numbers such as 0, 1, 2, 3, and 4, but unlike whole numbers, they also include negative values such as -1, -2, -3, and -4. A decimal or a fraction cannot be an integer.
Integers are numbers such as 0, 1, 2, 3, and 4, but unlike whole numbers, they also include negative values such as -1, -2, -3, and -4. A decimal or a fraction cannot be an integer.
Assume you’re looking for two consecutive numbers with a sum of 89. What are your options for dealing with this issue? You start with a variable, say x, whose value you don’t know.
After then, you must choose a new number. Because you must utilise two consecutive integers to solve the problem, the integer next to x will be (x + 1).
The sum of x and (x+1) is now 89, as per the problem. This can be expressed as an equation: x + (x + 1) = 89. When we solve this equation, we get x = 44 and the next number (x + 1) = 45, for a total of 89.
Formula
If n is indeed an integer, next 2 integers would be (n + 1) & (n + 2). Let n be 1, for illustration. (1 + 1) and (1 + 2), or 2 and 3, are its consecutive numbers.
As a result, the formula:
n+1, n+2, n+3,…
Solved Examples
- Find three consecutive 76-digit integers.
Solution:
Let n be 76. As a result, the next three integers will be n + 1, n + 2, and n + 3.
76 + 1, 76 + 2 and 76 + 3 or 77, 78 and 79
As a result, we have 76, 77, 78, and 79.
- Find three consecutive even numbers of -8 in a row.
Solution:
Let’s call -8 2n. As a result, the following three integers will be 2n + 2, 2n + 4, and 2n + 6.
-8 + 2, -8 + 4, and -8 + 6 (or -6, -4, and -2), or -6, -4, and -2
As a result, we have -8, -6, -4, and -2.