SquarePartRoot
The root of the square part of : the largest with dividing .
OEIS
A000188SquarePartRoot(n) in with square-free; the largest whose square divides .SageMath
isqrt(abs(n)//abs(n).squarefree_part())Typed signatures
| Type | Package | Applies |
|---|---|---|
(integer) -> integer | number-theory | always |
Details
- Every nonzero integer is for a unique and square-free ; this is , and SquareFreePart is . is square-free exactly when .
- The sign is a unit, as in PrimeOmega: . Defined on nonzero integers; 0 stays unevaluated.
- Halves every exponent in the factorization of , rounding down.
Plot
Examples
Scope #
Applications #
Properties #
About
| Examples | 12 |
|---|---|
| Checked against | Wolfram Language 11 agree1 differSageMath 11 agree1 error |
| Crosswalk | OEISSageMath |
Implementation
mapped
wolframpackages/oracle/src/mappings.tsWolfram has no head for it; this is its definition over FactorInteger, with the sign of n a unit.
mapped
sagepackages/oracle/src/mappings.tsSage has no head for it; from its squarefree_part, reading |n|.
See also: SquareFreePart, IsSquareFree, FactorInteger, IntegerExponent