Problem

Source: Mathematics Regional Olympiad of Mexico Southeast 2017 P3

Tags: number theory



Let $p$ of prime of the form $3k+2$ such that $a^2+ab+b^2$ is divisible by $p$ for some integers $a$ and $b$. Prove that both of $a$ and $b$ are divisible by $p$.