Skip to content / Đến nội dung
ThichHocToan.com

IMO 2007 — Complete Shortlist Question 10

IMO Shortlist · IMO 2007 — Complete Shortlist

Question 10

Find all positive integers $n$, for which the numbers in the set $S=\{1,2, \ldots, n\}$ can be colored red and blue, with the following condition being satisfied: the set $S \times S \times S$ contains exactly 2007 ordered triples $(x, y, z)$ such that (i) $x, y, z$ are of the same color and (ii) $x+y+z$ is divisible by $n$.