In mathematics and statistics, sums of powers occur in a number of contexts: In mathematics and statistics, sums of powers occur in a number of contexts: