olymmath

ISL 2007 C3

  • Answer

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)

Dataset text NuminaMath olympiads. Quoted with source.

Show the answer

69 \text{ and } 84

Solutions

No solution is on olymmath yet. Official and human solutions come first when they arrive. AI solutions come after them, with a label.

Add a solution

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