Prime power

Checks if a number is a prime power.


Given an integer n, returns false if the input is not a prime power. If indeed it is a prime power, returns a list with two elements: the first one is the prime and the second one is the power.