Project Euler #87: Prime power triples

Problem Name:
Project Euler #87: Prime power triples
Site:HackerRank
Links:
Tags:
Problem setters: