I am currently working on the following problem:
Find all positive integers $r$ such that, for any natural number $k \geq 1$, $$(1+2^r+3^r+\cdots+k^r) = (1+2+3+\cdots+k)^{r-1}$$
I've tried to look at this with a sequence and series lens but it didn't get me far.
Any help is highly appreciated.