Perfect power (source code)

= Perfect power
{wiki}

An integer is a perfect power when it has the form $x^k$ for integers $x$ and $k>1$.