Numbers in set can be colored red and blue
Source: IMO Shortlist 2007, C3, AIMO 2008, TST 2, P2
July 13, 2008
combinatoricsmodular arithmeticcountingIMO Shortlisttriplets
Problem Statement
Find all positive integers for which the numbers in the set S \equal{} \{1,2, \ldots,n \} can be colored red and blue, with the following condition being satisfied: The set contains exactly ordered triples such that:
(i) the numbers , , are of the same color,
and
(ii) the number x \plus{} y \plus{} z is divisible by .
Author: Gerhard Wöginger, Netherlands