Ways to Express an Integer as Sum of Powers