| 1 | initial version |
Tips:
itertools.product for iterating over a cartesian productis_square() rather than computing the square root and checking whether it is in ZZis_perfect_power | 2 | No.2 Revision |
Tips:
itertools.product for iterating over a cartesian productis_square() rather than computing the square root and checking whether it is in ZZis_perfect_power
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.