getPadicValuation(a, p)This function computes the $p$-adic valuation of a rational number $a$, which is the exponent of the prime $p$ in the factorization of $a$ in $\mathbb{Q}_p$. It returns the integer $n$ such that $a=up^{n}$, where $u$ is a unit in $\mathbb{Z}_p$.
|
|
We have that $363/7 = \frac{3\cdot 11^{2}}{7}$, so the $11$-adic valuation is $2$.
The object getPadicValuation is a method function.
The source of this document is in A1BrouwerDegrees/Documentation/ArithmeticMethodsDoc.m2:27:0.