TU-Berlin → Inst. f. Mathematik → Algebra und Zahlentheorie → KASH → Documentation → Reference Manual
KASH3 Reference Manual
search    

Function

IsPrimePower ( elt-ord^rat x ) -> elt-alg^boo, elt-ord^rat, elt-ord^rat

Optional Arguments

Resultselt-ord^rat1 <= Results <= 3

Description

True and integers p and k if x equals p^k for some prime p; false otherwise.

Built: Mon Nov 14 21:12:39 UTC 2005 on mack
The KANT Group