Project Euler #29: Distinct powers

Problem Name:
Project Euler #29: Distinct powers
Site:HackerRank
Links:
Tags:
Problem setters: