The
parity of an integer refers to whether it is even or odd. In general,
- An even integer can be expressed as 2k, where k is an integer.
- An odd integer can be expressed as 2k + 1, again where k is an integer.
The behaviour of numbers under operations such as addition, subtraction, and multiplication is largely influenced by their parity. For instance:
- The sum of two even integers is even.
- The sum of an even and an odd integer is odd.
- The product of any integer with an even integer is even.
Understanding the parity of numbers is fundamental in many proofs, including the textbook exercise which relates the parity of a cube of an integer to the integer itself.