I know how to write a function that counts the number of distinct prime factors of a number.
Does there exist an inbuilt function for this purpose?
| 1 | initial version |
I know how to write a function that counts the number of distinct prime factors of a number.
Does there exist an inbuilt function for this purpose?
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.