_nmod_poly_is_squarefree, nmod_poly_is_squarefree
Synopsis
#include <flint/nmod_poly_factor.h>int nmod_poly_is_squarefree(const nmod_poly_t f)sourceReturn whether f (given as (f, len) in the underscore version, with any \mathit{len} \ge 0) is squarefree, by testing whether \gcd(f, f') = 1; if f' = 0 and \deg f \ge 2, then f is a p-th power and not squarefree. Nonzero constants are squarefree; as a special case, the zero polynomial is not.
Cite this page
The FLINT team, “_nmod_poly_is_squarefree, nmod_poly_is_squarefree (nmod_poly_factor.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nmod_poly_factor/_nmod_poly_is_squarefree.html (generated 2026-10-20).
@misc{flint-doc-nmod-poly-factor-nmod-poly-is-squarefree,
author = {{The FLINT team}},
title = {{\_nmod\_poly\_is\_squarefree, nmod\_poly\_is\_squarefree (nmod\_poly\_factor.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/nmod_poly_factor/_nmod_poly_is_squarefree.html},
note = {Generated 2026-10-20}
}