Prove that number $1^{2005}+2^{2005}+\cdots+n^{2005}$ is not divisible by number $n+2$ for every $n\in \mathbb N$
I have solution $2(1^{2005}+2^{2005}+ \cdots +n^{2005})=2+(2^{2005}+n^{2005})+(3^{2005}+(n-1)^{2005})+\cdots+(n^{2005}+2^{2005})=2+(n+2)M$, but I do not know how he get that result and i try to do on another way. I know that $1+2+\cdots+n=\frac{n(n+1)}{2}$and that $1+2+\cdots+n| 1^{2005}+2^{2005}+ \cdots +n^{2005}$.
So $\frac{n(n+1)}{2}|1^{2005}+2^{2005}+ \cdots +n^{2005}.$ that mean $n(n+1)|2(1^{2005}+2^{2005}+ \cdots +n^{2005})$ so $2(1^{2005}+2^{2005}+ \cdots +n^{2005})=M_1n(n+1)$ now if $n+2|1^{2005}+2^{2005}+ \cdots +n^{2005}$ that mean that $1^{2005}+2^{2005}+ \cdots +n^{2005}=M_2(n+2)+r$, where $r=0$ but I need to show that is true or not so I do this.
$2(M_2(n+2)+r)=M_1n(n+1)$ , but I stuck here so maybe this is not good option to show that $r \not =0,$ do you have some idea?
The solution in your statement is using the following fact:
Let $k$ be an odd natural number. Then $x+y$ divides $x^k+y^k$.
The simplest way to get this is perhaps to view this as a polynomial in $x$ and then if we substitute $x=-y$, we get $x^k+y^k=x^k+(-x)^k=0$.
In your question each of the term: $(m^{2005}+(n-m+2)^{2005})$ will be divisible by $m+(n-m+2)=n+2$. This shows that \begin{align*} 2(1^{2005}+2^{2005}+ \cdots +n^{2005}) &=2+(2^{2005}+n^{2005})+(3^{2005}+(n-1)^{2005})+\cdots+(n^{2005}+2^{2005})\\ &=2+A_2(n+2)+A_3(n+2)+\dotsb+A_n(n+2)\\ &=2+(n+2)[A_2+\dotsb+A_n]\\ &=2+(n+2)M \end{align*}