olymmath

ISL 2007 C3

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

Official text Transcription from NuminaMath olympiads, checked word for word against the official paper. Quoted with source.

Official text: IMO 2007 Shortlist booklet, page 31.

Show the answer

69 \text{ and } 84

Solutions

Official solution Solution 1 by the IMO Problem Selection Committee

The terms of the source let olymmath link to this solution but not copy it. Read the solution (IMO official site).

Similar problems

These problems have the most words in common with this statement.

Locator isl/2007/c3 · Tag NJSMBR97DV · Edit this page on GitHub · Keys: j next, k previous