I am struggling with an exercise regarding cardinal exponentiation when one of the two is regular. The exercise reads:
Let $k$, $\lambda$ be cardinals, with $k$ regular and $\lambda < k$. Prove that $k^{\lambda} = \sum_{\alpha<k}|\alpha|^{\lambda}$ .
I still have to get familiar with cofinalities and regular cardinals so I may be missing something very obvious, but I don't know where to start. Any help is very much appreciated :)
Hints: