AngouriMath
Valuation(AngouriMath.Entity,AngouriMath.Entity)
Method (no overloads)
Summary
The p -adic valuation of a whole number, valuation(n, p) : the exponent
of the primep in n . valuation(12, 2) is 2 ,
valuation(12, 5) is 0 , and at n = 0 it is +oo .
https://github.com/asc-community/AngouriMath/issues/1450
of the prime
https://github.com/asc-community/AngouriMath/issues/1450
Example
Console.WriteLine(MathS.NumberTheory.Valuation(12, 2).Evaled);Prints
2Angouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 4378 pages online