Out of eleven square integers we can pick six integers such that $a^2+b^2+c^2=d^2+e^2+f^2 \,(\mod 12)$
This was probably the toughest question in section b of our maths paper.I knew this question needs php but I couldn't bring the condition to enforce php. Please help me
Hint: start by figuring out the only possible values of a square $\pmod {12}$.