Sum of Successive Powers in 2 ways

Theorem
$31$ and $8191$ can be expressed as the sum of successive powers starting from $1$ in in $2$ different ways.

Proof
These are the only two examples known.