Main Content

Euler phi function

evaluates
the Euler phi function
or (also known as the totient function) for a positive integer
`p`

= eulerPhi(`n`

)`n`

.

[1] Redmond, D. *Number
Theory: An Introduction to Pure and Applied Mathematics*. New York: Marcel
Dekker, 1996.