AngouriMath

Navigation

← Back to list of members

Phi​(AngouriMath.​Entity)

 Method (no overloads)

Summary

Returns entity standing for Euler phi function
Wikipedia If integer x is non-positive, the result will be 0

Example

Console.WriteLine(MathS.NumberTheory.Phi(12));
Console.WriteLine(MathS.NumberTheory.Phi(12).Evaled);

Prints
phi(12)
4

























Angouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 1534 pages online