Problem

Source: 2016 Latvia BW TST P20

Tags: power of prime, Perfect Powers, Perfect power, number theory



For what pairs of natural numbers $(a, b)$ is the expression $$(a^6 + 21a^4b^2 + 35a^2b^4 + 7b^6) (b^6 + 21b^4a^2 + 35b^2a^4 + 7a^6)$$the power of a prime number?