Home Online Manual
Top
Back: log2
Forward: wurzel
FastBack: Teaching
FastForward: atkins_lib
Up: aksaka_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

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