Problem

Source: Bulgaria EGMO TST 2016 Day 2 Problem 1

Tags: partition, number theory, combinatorics



Is it possible to partition the set of integers into three disjoint sets so that for every positive integer $n$ the numbers $n$, $n-50$ and $n+1987$ belong to different sets?