Sets, Relations & Functions

Answer & solution
Answer: R is congruence modulo n; for n=5 the classes are 5ℤ,5ℤ+1,5ℤ+2,5ℤ+3,5ℤ+4. (no official key was published)
Prove all three defining properties using divisibility.
Reflexivity: for each a, a−a=0=n·0, so aRa.
Symmetry: if aRb, then a−b=nk for an integer k. Hence b−a=n(−k), so bRa.
Transitivity: if aRb and bRc, write a−b=nk and b−c=nℓ. Adding gives a−c=n(k+ℓ), so aRc.
Thus R is an equivalence relation.
For n=5, the division algorithm gives every integer z a unique remainder r∈{0,1,2,3,4}, including negative integers. Two integers are related exactly when these remainders agree. The five distinct classes are:
[0]={5k:k∈ℤ}={…,−10,−5,0,5,10,…}
[1]={5k+1:k∈ℤ}={…,−9,−4,1,6,11,…}
[2]={5k+2:k∈ℤ}={…,−8,−3,2,7,12,…}
[3]={5k+3:k∈ℤ}={…,−7,−2,3,8,13,…}
[4]={5k+4:k∈ℤ}={…,−6,−1,4,9,14,…}.
They cover ℤ by existence of remainders. They are disjoint because equality 5k+r=5ℓ+s implies 5 divides r−s, and for r,s in 0…4 this forces r=s. Representatives are not unique: for example [−1]=[4], but these are the same class, not a sixth class.