FLINT3.7.0-dev

n_factor_insert

Synopsis#include <flint/ulong_extras.h>
void n_factor_insert(n_factor_t * factors, ulong p, ulong exp)source

Multiplies the factorisation by p^{\mathit{exp}}, adding to the exponent of p if it is already present.

Cite this page

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