For all $a,b \in \mathbb{Z}$ and for all $m,n \in \mathbb{N}\setminus \left\lbrace0\right\rbrace$,
is $a^{48m+1}+b^{48n+1} \equiv 0 \pmod{39} \iff a+b \equiv 0 \pmod{39}$?
I think the answer is yes, but I can't prove it. Is there somebody who can help me? Thank you.