Skip to content
Chris Petersen edited this page Oct 21, 2015 · 1 revision

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
Clone this wiki locally