Problem 029 - Distinct Powers