For the following relation, show that R is an equivalence relation and determine the

corresponding partition of Z (the set of integers) into distinct equivalence classes.

The relation R on Z is given by xRy if and only if x+y is even (i.e. x+y is

divisible by 2)