Dear GAP Forum,
My apologies there was a typing error in my last submission. It should have
been:
IsPowerOfP := function(n,p)
return n mod p = 0 and IsPrimePowerInt(n);
end;
^^^^^^^^^^^^
NOT "IsPrimePowerInt(p)"
Steve -- Steve Linton School of Computer Science & Centre for Interdisciplinary Research in Computational Algebra University of St Andrews Tel +44 (1334) 463269 http://www.dcs.st-and.ac.uk/~sal Fax +44 (1334) 463278