Skip to content
Skip to main navigation
Skip to first column
Skip to second column
Singular
Search
Download 4-1-2
Try Online
Online Manual
Graphical Interface
Get Help
Report Bugs
Books
Teams
Join Us
Home
Online Manual
D.12.1.3 PerfectPowerTest
Procedure from library
aksaka.lib
(see
aksaka_lib
).
Usage:
PerfectPowerTest(n);
Return:
0 if there are numbers a,b>1 with a^b=n;
1 if there are no numbers a,b>1 with a^b=n;
if printlevel>=1 and there are a,b>1 with a^b=n,
then a,b are printed
Example:
LIB "aksaka.lib"; PerfectPowerTest(887503681); ==> 0
Main
Home
News
Publications
How to cite Singular
Community
Forum
Trac
Events
Mailing List
Blog
System
New Libraries
Source Code
Open Tasks
Third-party software
Misc
Links
Contact
Impressum
Internal