Let $X \in \text{Bernoulli}(\theta)$ be a D207: Bernoulli random boolean number.
Let $n \in \{ 1, 2, 3, \ldots \}$ be a D5094: Positive integer.
Let $n \in \{ 1, 2, 3, \ldots \}$ be a D5094: Positive integer.
Then
\begin{equation}
\mathbb{E} X^n
= \theta
\end{equation}