PrimePowerQ

Prime numbers


PrimePowerQ[n]

returns True if n is a power of a prime number.

PrimePi
RandomPrime