Here's how to do these... use a 0 in place of an even number, and a 1 in place of an odd. With consecutive numbers, one is even and the other odd.

Substitute the 0's and 1's. If the answer is 0 or an even number, the result is even. If the answer is 1 or an odd number, the result is odd.