Problem

Source:

Tags: number theory, number theory proposed



Let $p$ be a prime number of the form $4k+1$ and $\frac{m}{n}$ is an irreducible fraction such that $$\sum_{a=2}^{p-2} \frac{1}{a^{(p-1)/2}+a^{(p+1)/2}}=\frac{m}{n}.$$Prove that $p|m+n$. (Fixed, thanks Pavel)