aliquot - part-cw/lambdanative GitHub Wiki

(aliquot n)

Returns the aliquot sum, equal to the sum of proper divisors of the argument.

Parameter Description
n integer

Example

> (aliquot 42)
54