IntegerExponent
The largest with — the -adic valuation of as an integer.
✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram Language
IntegerExponent!IntegerExponent(n, b)the multiplicity of in SymPy
multiplicity(b, n)IntegerExponent(n)base 10Typed signatures
| Type | Package | Applies |
|---|---|---|
(number, number?) -> integer | number | number-theory | always |
Details
- Integers only: a rational's -adic valuation is AdicValuation's, over AdicNumeral.
- has every power of as a divisor, so
IntegerExponent(0, b)isPositiveInfinity. - need not be prime —
IntegerExponent(n, 6)is the largest with , not the 2-adic or 3-adic valuation.
Examples
3 more kept as data, checked against the oraclesScope #
Applications #
About
| Examples | 19 |
|---|---|
| Checked against | Wolfram Language 18 agree1 differSymPy 9 agree3 error |
| Crosswalk | Wolfram LanguageSymPy |
Implementation
mapped
wolframpackages/oracle/src/mappings.tsmapped
sympypackages/oracle/src/mappings.ts See also: AdicValuation, FactorInteger