I'm reading through Davenport's "Multiplicative Number Theory", and came across this expression on page 53. $$ \sum_{m=1}^{q-1} m^{(q+1)/2} \equiv 0 \mod q, $$ where $q$ is an odd prime congruent to $3\bmod 4$.
In the book, this is stated as if it should be immediately clear, but for some reason, I just can't see it. Can anyone help with my tunnel vision?
Assume $q>3$, but there is no need to set a value for $q\pmod 4$. We remark that the claim is false for $q=3$.
Let $t$ be a non-zero residue $\pmod q$ such that $t^{(q+1)/2}\not \equiv 1 \pmod q$. Such a $t$ exists since the order of any $t$ for which $t^{(q+1)/2} \equiv 1 \pmod q$ would have to be a divisor of $\gcd(q-1, \frac {q+1}2)≤2$ and, since $q>3$, we can avoid such $t$.
Now, multiplying the list of residues by $t$ just permutes them. It follows that $$\sum m^{(q+1)/2}\equiv t^{(q+1)/2}\sum m^{(q+1)/2}\implies \sum m^{(q+1)/2}\equiv 0 \pmod q$$ and we are done.