ECS #371: Sums of powers