Problem

Source: Chinese TST 2009 2nd quiz P2

Tags: modular arithmetic, algebra, polynomial, number theory, combinatorics proposed, combinatorics, Additive combinatorics



Find all the pairs of integers $ (a,b)$ satisfying $ ab(a - b)\not = 0$ such that there exists a subset $ Z_{0}$ of set of integers $ Z,$ for any integer $ n$, exactly one among three integers $ n,n + a,n + b$ belongs to $ Z_{0}$.