The sum of powers as canonical expression