Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

number of distinct prime factors of a number

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?