Does someone know how to prove ***EDIT by induction**** that for all integers $n\ge1$, $k\gt0$ $$\sum\limits_{i=1}^{n} {i^{2k+1}}\equiv 0\ \ \ \pmod{\frac{n(n+1)}{2}}$$
I thought this should be a quick outcome from known polynomial expressions for sums of powers, or easy by induction. But I have not been able to write down such a proof.
Thanks for help..
I make the above EDIT to 'deduplicate' (somehow) the question.
This is where I am:
Let $P_{m+1}$ be the $m+1$ degree polynomial such that $P_{m+1}(n) =\sum\limits_{i=1}^{n} {i^{m}}$
From $$(n+\frac{1}{2})^{m+1}-(\frac{1}{2})^{m+1}=\sum\limits_{i=1}^{n}((i+\frac{1}{2})^{m+1}-(i-\frac{1}{2})^{m+1})$$ after expansion of the binomes on the RHS and rearrangement: $$(n+\frac{1}{2})^{m+1}-(\frac{1}{2})^{m+1}=\sum\limits_{j=0}^{m+1}\frac{\binom{m+1}{j}}{2^{j}}(1-(-1)^j)P_{m+2-j}(n)$$ I obtain a recurrence relationship for the $P_{2k}$ of even degrees $$2^{2k+2}(2k+2)P_{2k+2}(n)=(2n+1)^{2k+2}-1-\sum\limits_{j=1}^{k}2^{2j}\binom{2k+2}{2j-1}P_{2j}(n)$$ that is $$2^{2k}(k+1)P_{2k+2}(n)=\binom{n+1}{2}\sum\limits_{j=0}^{k}(2n+1)^{2j}-\sum\limits_{j=1}^{k}2^{2j-3}\binom{2k+2}{2j-1}P_{2j}(n)$$ Now if I suppose that, for all $1\le j \le k$, for all $n$, all the $P_{2j}(n)\equiv 0\ \ \pmod{\frac{n(n+1)}{2}}$ , which is true for $j=1$, and since all the $2^{2j-3}\binom{2k+2}{2j-1}$ are integers even when $j=1$, then I have $$2^{2k}(k+1)P_{2k+2}(n)\equiv 0 \pmod{\frac{n(n+1)}{2}}$$ which is almost (but not quite :-() enough to complete the proof by induction