Sub topic 1
What Makes an Integer Even or Odd
On the GRE, "even" and "odd" appear in "must be true" questions, in Quantitative Comparison items, and inside problems about divisibility. Every later rule in this tutorial depends on a precise definition of parity, so this chapter builds that definition and tests it on the cases that cause mistakes: zero, negative integers, and numbers that are not integers.
Prerequisites
This chapter assumes you can already do the following:
- State what an integer is: a whole number with no fractional part, such as -5, 0, or 12.
- Do basic arithmetic with negative numbers, such as -3 + 7 or (-2)(4).
- Read "a is divisible by b" to mean that a divided by b leaves no remainder.
- Read basic exponent notation such as x² and x³.
You do not need any parity rules for sums or products yet. Those come in the next chapters.
The Definition
Parity is the property of an integer being even or odd. Every integer has exactly one of the two.
- An integer is even if it is divisible by 2, which means it can be written as 2k for some integer k.
- An integer is odd if it is not divisible by 2, which means it can be written as 2k + 1 for some integer k.
The two definitions cover all integers with no overlap. Each integer is in exactly one of the two groups.
| Integer n | Written as | k | Parity |
|---|---|---|---|
| 8 | 2(4) | 4 | even |
| 7 | 2(3) + 1 | 3 | odd |
| 0 | 2(0) | 0 | even |
| -6 | 2(-3) | -3 | even |
| -7 | 2(-4) + 1 | -4 | odd |
The letter k only has to be some integer. It can be negative or zero. You will use the forms 2k and 2k + 1 later to prove general claims, such as why an odd number plus an odd number is always even.
Zero Is Even
Zero is even. It is divisible by 2, because 0 ÷ 2 = 0 with no remainder. It also fits the form 2k with k = 0.
The GRE relies on this fact because many students treat zero as a special case with no parity. If a question says "n is an even integer," then n = 0 is allowed unless the problem rules it out some other way, for example by saying n > 0.
Zero is also neither positive nor negative. That is a sign property, not a parity property, and a later chapter covers it. For now, keep the two ideas separate: zero is even, and zero is neither positive nor negative.
Negative Integers Have Parity Too
The sign of an integer does not change its parity. The integer -n has the same parity as n.
- 4 is even, so -4 is even.
- 9 is odd, so -9 is odd.
The reason is that if n = 2k, then -n = 2(-k), which is still of the form 2k. If n = 2k + 1, then -n = -2k - 1 = 2(-k - 1) + 1, which is still of the form 2k + 1.
A common slip is to think that -1 is "less odd" than 1, or that negative numbers can't be odd. Neither is true. The odd integers are ..., -5, -3, -1, 1, 3, 5, ..., and the even integers are ..., -4, -2, 0, 2, 4, ....
Moving one step along the number line always changes the parity. The two types alternate without a break, and this includes the step across zero:
Only Integers Have Parity
Parity is defined only for integers. A number such as 2.5, 1/2, or √2 is neither even nor odd. This matters on the GRE in two ways.
First, a variable is not necessarily an integer unless the problem says so. If a question says "x is a number" or gives no description, you cannot use parity rules on x.
Second, a statement like "x is not even" does not mean x is odd. If x is allowed to be a non-integer, then x = 1.5 is not even and also not odd. Only for integers does "not even" imply "odd."
The following flow shows how to classify any number:
Quick Ways to Tell
For integers written in ordinary base-10 notation, only the last digit decides the parity. If the last digit is 0, 2, 4, 6, or 8, the integer is even. If it is 1, 3, 5, 7, or 9, the integer is odd. This works because 10 is even, so every part of the number except the units digit is a multiple of 10 and therefore even.
So 3,482 is even, -1,957 is odd, and 1,000,001 is odd. You never need the other digits.
You can also test parity by halving: if n ÷ 2 is an integer, n is even.
Checking Parity with Code
You can use code to confirm the definitions, including for negatives and zero. The divmod function returns the quotient k and the remainder r when you divide by 2, so you can see the 2k + r form directly.
for n in (-7, -4, -1, 0, 1, 6, 13):
k, r = divmod(n, 2)
kind = "even" if r == 0 else "odd"
print(f"{n:>3} = 2*({k}) + {r} -> {kind}")The output is:
-7 = 2*(-4) + 1 -> odd
-4 = 2*(-2) + 0 -> even
-1 = 2*(-1) + 1 -> odd
0 = 2*(0) + 0 -> even
1 = 2*(0) + 1 -> odd
6 = 2*(3) + 0 -> even
13 = 2*(6) + 1 -> oddEach line matches the table earlier. Note that -1 comes out as 2(-1) + 1, so the form 2k + 1 with a negative k does describe negative odd numbers.
Worked Examples
Example 1: classifying numbers. Classify each of the following: 0, -12, 15, 2.5, -3.
- 0 is even (it equals 2 · 0).
- -12 is even (it equals 2 · (-6)).
- 15 is odd (it equals 2 · 7 + 1).
- 2.5 has no parity because it is not an integer.
- -3 is odd (it equals 2 · (-2) + 1).
Example 2: using the 2k form. Suppose n is an even integer. Is 2n + 6 even or odd?
Write n = 2k for some integer k. Then 2n + 6 = 4k + 6 = 2(2k + 3). Because 2k + 3 is an integer, the expression has the form 2 times an integer, so it is even. You did not need to know which even integer n is. The same expression is even for any integer n, even or odd, because 2n + 6 is always 2(n + 3) and n + 3 is an integer.
Example 3: a statement about a variable. The problem says, "x is an integer and x is not even. Which of the following must be true?" Because x is an integer, "not even" means odd. You can now use the odd form x = 2k + 1. If the problem had not said x is an integer, you could not reach that conclusion.
Common Errors
- Treating zero as having no parity. Zero is even. Check whether a problem's "even integer" could be 0, since that is a frequent counterexample.
- Believing negatives behave differently. -3 is odd and -4 is even, exactly as 3 and 4 are.
- Applying parity to non-integers. 0.5 is neither even nor odd. Check whether the problem states that the variable is an integer.
- Equating "not even" with "odd" for non-integers. The equivalence only holds inside the integers.
- Using the wrong test for odd. An integer is odd when its remainder on division by 2 is not zero, not when it "looks small" or "ends in a prime digit." The last digit must be 1, 3, 5, 7, or 9.
Summary of the Definition
- Even integers are the multiples of 2, written 2k.
- Odd integers are the integers that are not multiples of 2, written 2k + 1.
- Zero is even, and negative integers follow the same rule as positive ones.
- Parity alternates as you move one step along the number line.
- Only integers have parity.
With these facts fixed, the next chapters can ask what happens to parity when you add, subtract, and multiply.
Exercise
Classify each of the following as even, odd, or having no parity: 0, -9, 14, 7/2, -20.
Show answer
0 is even (0 = 2 · 0). -9 is odd (-9 = 2 · (-5) + 1). 14 is even (14 = 2 · 7). 7/2 has no parity because it is not an integer. -20 is even (-20 = 2 · (-10)).
Exercise
The integer n is odd. Show that n + 1 is even by writing n in the form 2k + 1.
Show answer
Write n = 2k + 1 for some integer k. Then n + 1 = 2k + 2 = 2(k + 1). Since k + 1 is an integer, n + 1 is of the form 2 times an integer, so it is even.
Exercise
A problem says "x is not even." A student concludes "x is odd." Under what condition is this conclusion valid, and give a value of x for which it fails.
Show answer
The conclusion is valid only if x is known to be an integer, because only integers are even or odd. It fails for x = 1.5: this number is not even, but it is also not odd.
Exercise
If m is an integer and 2m + 1 = 15, is m even or odd? Is 2m + 1 itself even or odd, for any integer m?
Show answer
Solving gives m = 7, which is odd. The expression 2m + 1 has the form 2k + 1 with k = m, so it is odd for every integer m. This matches 15, which is odd.