Mathematica > Number Theoretic Functions >

PrimePowerQ

PrimePowerQ[expr]
yields True if expr is a power of a prime number, and yields False otherwise.
  • PrimePowerQ[m+In] automatically works over the Gaussian integers.
New in 6
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team