Maths Olympiad Prep

Library / /431 of 520

Combinatorics Difficulty 6.0 National olympiad Prove it

Determine all integers k1k \geqslant 1 with the following property: given kk different colours, if each integer is coloured in one of these kk colours, then there must exist integers a1<a2<<a2023a_{1}<a_{2}<\cdots<a_{2023} of the same colour such that the differences a2a1,a3a2,,a2023a2022a_{2}-a_{1}, a_{3}-a_{2}, \ldots, a_{2023}-a_{2022} are all powers of 2 .

#

Solution

We claim that only k=1k=1 and k=2k=2 satisfy the required property. First, if k3k \geqslant 3, we colour each integer with its residue class modulo 3 , so that, whenever two integers have the same colour, their difference is divisible by 3 , so is not a power of 2 . This shows that no k3k \geqslant 3 has the required property.

In the case k=1k=1, the sequence defined by an=2na_{n}=2 n for n=1,2,,2023n=1,2, \ldots, 2023 clearly has the required property. In the case k=2k=2, we call the colours "red" and "blue", and construct, for each n1n \geqslant 1 and by induction, integers a11a_{1}1, let a1<a2<<ana_{1}<a_{2}<\cdots<a_{n} be red integers (without loss of generality) having the desired property. Consider the n+1n+1 integers bi=an+2ib_{i}=a_{n}+2^{i}, for i=1,2,,n+1i=1,2, \ldots, n+1. If one of these, say bjb_{j}, is red, then, as bjan=2jb_{j}-a_{n}=2^{j}, the n+1n+1 red integers a1<a2<<an<bja_{1}<a_{2}<\cdots<a_{n}<b_{j} have the desired property. Otherwise, b1,b2,,bn+1b_{1}, b_{2}, \ldots, b_{n+1} are all blue, and bi+1bi=(an+2i+1)(an+2i)=2ib_{i+1}-b_{i}=\left(a_{n}+2^{i+1}\right)-\left(a_{n}+2^{i}\right)=2^{i} for i=1,2,,ni=1,2, \ldots, n, so the n+1n+1 blue integers b1<b2<<bn+1b_{1}<b_{2}<\cdots<b_{n+1} have the desired property. This completes the inductive step and hence the proof.

## BxMO 2023: Problems and Solutions

#

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic and difficulty added by this site.