Atom - Æḍ - Proper Divisor Count

Characters: Æ ,

Tags: arithmetic , math , number , vectorize

Arity: monadic

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


Return the number of proper divisors of z (factors exclusing z itself).


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):