|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
PrimePowerQ
PrimePowerQ[expr]
yields True if expr is a power of a prime number, and yields False otherwise.
Details and OptionsDetails and Options
- PrimePowerQ[1] gives False.
- PrimePowerQ[n, GaussianIntegers->True] determines whether n is a Gaussian prime power.
- PrimePowerQ[m+In] automatically works over the Gaussian integers.
New in 6
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
