MathDB
Coloring points of a lattice cube

Source: China Mathematical Olympiad 2018 Q2

November 15, 2017
3D geometrycombinatoricslattice points

Problem Statement

Let nn and kk be positive integers and let T={(x,y,z)N31x,y,zn}T = \{ (x,y,z) \in \mathbb{N}^3 \mid 1 \leq x,y,z \leq n \} be the length nn lattice cube. Suppose that 3n23n+1+k3n^2 - 3n + 1 + k points of TT are colored red such that if PP and QQ are red points and PQPQ is parallel to one of the coordinate axes, then the whole line segment PQPQ consists of only red points.
Prove that there exists at least kk unit cubes of length 11, all of whose vertices are colored red.