In a proof I read recently, I saw the author conclude that $X$ is an Exp(1) random variable after finding $E(X^{k}) = k!$. Why and when is this allowed (i.e. when can I conclude that some r.v. follows a distribution whose expectation I recognize)? Is it not possible to construct another random variable with expectation $k!$ that isn't an Exp(1) random variable (maybe I just missed something earlier on)?
I haven't been able to find much online about the injectivity of the expectation function, so maybe someone can clarify for me.