FLINT3.7.0-dev

n_poly_mod_remove

Synopsis#include <flint/n_poly.h>
ulong n_poly_mod_remove(n_poly_t f, const n_poly_t p, nmod_t ctx)source

Divides f by the highest power of p that divides it and returns the exponent. p must be nonconstant.

Cite this page

The FLINT team, “n_poly_mod_remove (n_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/n_poly/n_poly_mod_remove.html (generated 2026-10-20).