totient - part-cw/lambdanative GitHub Wiki

(totient n)

Returns the Euler totient function, the number of positive integers less than the argument that are relatively prime to the argument.

Parameter Description
n integer

Example

> (totient 42)
12