IsPrimePower
Tests whether is a positive integer power of a single prime.
✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram Language
PrimePowerQ✓IsPrimePower(n) for a prime , Typed signatures
| Type | Package | Applies |
|---|---|---|
(integer) -> boolean | number-theory | always |
Details
- does not count: it has no prime base.
- Wolfram's
PrimePowerQ.
Examples
Basic #
Scope #
Properties #
About
| Examples | 21 |
|---|---|
| Checked against | Wolfram Language 21 agree |
| Crosswalk | Wolfram Language |
See also: IsPrime, FactorInteger