Let $p$ be prime number,and such $p\equiv 1\pmod {12}$,Find the numbers of ordered array $(a,b,c,d)$ that satisfies the following conditions:
(1):$a,b,c,d\in \{0,1,2,\cdots,p-1\}$
(2):$a^2+b^2\equiv c^3+d^3\pmod p$
maybe can use this problem methods?:But I can't it ,Thanks 2018 TST
Outlining the first approach that occured to me by giving steps only. Ask, if you get stuck at some point.
This is about the number of solutions of the equation $$a^2+b^2=c^3+d^3$$ in the field $\Bbb{F}_p$, $p\equiv1\pmod{12}$.
There may be a solution requiring less knowledge about finite fields. I was simply pretty much on autopilot here, the congruence $p\equiv1\pmod{12}$ being kind of a give-away.