redo as Integer#power_digit_sum