Problem

Source: Bulgarian Winter Tournament 2024 12.4

Tags: number theory



Call a positive integer $m$ $\textit{good}$ if there exist integers $a, b, c$ satisfying $m=a^3+2b^3+4c^3-6abc$. Show that there exists a positive integer $n<2024$, such that for infinitely many primes $p$, the number $np$ is $\textit{good}$.