AngouriMath

Try it live

Navigation

← Back to list of members

Phi​(PeterO.​Numbers.​EInteger)

 Method (no overloads)

Summary

Computes Euler phi function
https://en.wikipedia.org/wiki/Euler%27s_totient_function
If integer x is non-positive, the result will be 0

























Angouri © 2019-2026 · Project's repo · Site's repo · Octicons · Transparency · 6018 pages online