Project Euler 87 - Prime Power Triples

Official link: https://projecteuler.net/problem=87