up previous next
StarRoot --
compute smallest root of an integer
|
This function returns the smallest root of
N; that is, it
produces the smallest
R such that
N = R^k for some
k.
An error is reported if
N < 0. Note that this is not the
same as the radical or squarefree part of
N.