Parity of zero

Parity of zero is the question whether the number zero is even or odd. General consensus is that the number is even. Even numbers are defined to be integer multiples of two. That way, the numbers two, four and six are even, because they are one times two, two times two, and three times two. With that explanation, zero is also even, because it is zero times two. 
Another explanation is from number theory: The integers are arranged in such a way that even numbers are followed by odd ones, and odd ones by even ones. Zero is preceded by minus one, and followed by one. Both numbers are odd. So it must be even.
There is also a problem: The term "even" meaning "integer multiple of two" is a convention; people agreed on it. It is not a formal definition. Another case where people used a convention they agreed on was that of prime number: Before the 20th century, there were many inconsistent definitions of prime: Mathematicians such as Goldbach, Lambert, Legendre, Cayley, and Kronecker wrote that 1 was prime. The modern definition of "prime number" is "positive integer with exactly 2 factors", so 1 is not prime. This definition is rational: it naturally suits mathematical theorems that concern the primes. For example, the fundamental theorem of arithmetic is easier to state when 1 is not considered prime
It would be possible to redefine "even" in a way that no longer includes zero. However, in this case, the new definition would make it more difficult to state theorems concerning the even numbers. Already the effect can be seen in the algebraic rules governing even and odd numbers. The most relevant rules concern addition, subtraction, and multiplication:
Inserting appropriate values into the left sides of these rules, one can produce 0 on the right sides:
The above rules would therefore be incorrect if zero were not even. At best they would have to be modified. For example, one test study guide asserts that even numbers are characterized as integer multiples of two, but zero is "neither even nor odd". Accordingly, the guide's rules for even and odd numbers contain exceptions:
Making an exception for zero in the definition of evenness forces one to make such exceptions in the rules for even numbers. From another perspective, taking the rules obeyed by positive even numbers and requiring that they continue to hold for integers forces the usual definition and the evenness of zero.