Problem

Source: Spain Mathematical Olympiad 2020 P3

Tags: combinatorics, lattice, Spain



To each point of $\mathbb{Z}^3$ we assign one of $p$ colors. Prove that there exists a rectangular parallelepiped with all its vertices in $\mathbb{Z}^3$ and of the same color.