AngouriMath
CountDivisors(AngouriMath.Entity.Number.Integer)
Method (no overloads)
Summary
Count of all divisors of an integer, including 1 or itself.
Example
Console.WriteLine(MathS.NumberTheory.CountDivisors(12));
Console.WriteLine(MathS.NumberTheory.CountDivisors(13));
Prints
6
2
Angouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 1534 pages online