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?