Atom - Æv - Count Distinct Prime Factors

Characters: Æ , v

Tags: arithmetic , math , number , vectorize , prime

Arity: monadic

This atom is monadic, which means it takes one argument.

Functionality

Return the number of distinct prime factors of z.

Synonyms

This atom should work roughly the same way as or very similarly in concept to the following code snippets (some edge case exceptions may exist):