What better way to check if a number is a perfect power?
What better way to check if a number is a perfect power?
What better way to check if a number is a perfect power? Need to write an
algorithm to check if $ n = a^b $ to $ b > 1 $. There is a mathematical
formula or function to calculate this?
No comments:
Post a Comment