Sub topic 5
Consecutive Integers and Alternating Parity
Assume you know that an integer is a whole number, including negative numbers and zero, and that an even integer is divisible by 2. An odd integer is not divisible by 2. This chapter uses basic arithmetic, remainders, and algebraic expressions.
Why Consecutive Integers Alternate
Consecutive integers are integers that differ by 1, such as
- \(4, 5, 6\)
- \(-3, -2, -1, 0\)
- \(n, n+1, n+2\)
Adding 1 always changes parity. An even integer becomes odd, and an odd integer becomes even. Therefore, consecutive integers alternate between even and odd.
For example:
\[ 8\text{ is even},\quad 9\text{ is odd},\quad 10\text{ is even}. \]
This remains true for negative integers:
\[ -4\text{ is even},\quad -3\text{ is odd},\quad -2\text{ is even}. \]
Zero is even because \(0=2\cdot 0\). Thus, the sequence around zero also alternates:
\[ -2,\ -1,\ 0,\ 1,\ 2. \]
Expressions for Consecutive Integers
If \(n\) is an integer, then \(n\) and \(n+1\) are consecutive integers. Three consecutive integers can be written as
\[ n,\quad n+1,\quad n+2. \]
The parity of \(n\) determines the entire pattern.
| Parity of \(n\) | Parity pattern of \(n,n+1,n+2\) |
|---|---|
| Even | even, odd, even |
| Odd | odd, even, odd |
Among any two consecutive integers, exactly one is even and exactly one is odd. Among any three consecutive integers, at least one is even, and exactly one is divisible by 3.
These facts often help with products. The product of two consecutive integers is always even because one factor must be even:
\[ n(n+1)\text{ is even}. \]
Similarly, the product of three consecutive integers is always divisible by 6. One factor is even, and one factor is divisible by 3.
Sums of Consecutive Integers
Parity can also simplify sums. For two consecutive integers,
\[ n+(n+1)=2n+1. \]
The expression \(2n+1\) is always odd, so the sum of two consecutive integers is always odd.
For three consecutive integers,
\[ n+(n+1)+(n+2)=3n+3=3(n+1). \]
The parity depends on \(n+1\). If \(n+1\) is even, the sum is even. If \(n+1\) is odd, the sum is odd.
A useful GRE strategy is to represent the numbers algebraically before testing values. This prevents you from assuming that the first number is even or odd without justification.
for n in range(-3, 4):
values = (n, n + 1, n + 2)
parity = ["even" if x % 2 == 0 else "odd" for x in values]
print(values, parity, sum(values) % 2)The code checks negative values, zero, and positive values. It illustrates that the pattern alternates, while the sum of three consecutive integers can have either parity.
GRE Applications
A Quantitative Comparison problem might state that \(a\), \(b\), and \(c\) are consecutive integers and ask about \(abc\). Since one of three consecutive integers is even, \(abc\) must be even. If the problem asks whether the product is odd, the answer is immediately determined.
However, parity does not determine size or sign. The consecutive integers \(-2,-1,0\) have a product of zero, while \(3,4,5\) have a positive product. Use parity rules together with sign and magnitude information rather than treating them as interchangeable.
Exercise
If n, n+1, and n+2 are consecutive integers, must n(n+1)(n+2) be even?
Show answer
Yes. Among any three consecutive integers, at least one is even. A product with an even factor is even.