n_factor_insert
Synopsis
#include <flint/ulong_extras.h>void n_factor_insert(n_factor_t * factors, ulong p, ulong exp)sourceMultiplies 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).
@misc{flint-doc-ulong-extras-n-factor-insert,
author = {{The FLINT team}},
title = {{n\_factor\_insert (ulong\_extras.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/ulong_extras/n_factor_insert.html},
note = {Generated 2026-10-20}
}