Finding Sum of Powers on Arithmetic Progressions with Application of Cauchy’s Equation