Problem

Source: Baltic Way 2021, Problem 17

Tags: number theory, number theory proposed, primes



Distinct positive integers $a, b, c, d$ satisfy $$\begin{cases} a \mid b^2 + c^2 + d^2,\\ b\mid a^2 + c^2 + d^2,\\ c \mid a^2 + b^2 + d^2,\\ d \mid a^2 + b^2 + c^2,\end{cases}$$and none of them is larger than the product of the three others. What is the largest possible number of primes among them?