I stumbled upon an expression in an article of statistics for an $n$-th moment with $X$ being a random variable over $[0, \infty)$.
$$\mathbb{E} X^{n} = \int^{\infty}_{0} nz^{n-1}\; \text{Pr}(X > z) \; \text{dz}$$
Could someone enlighten me on why the above is true? It indeed works for the exponential distribution.