flint_mpn_factor_trial
Synopsis
#include <flint/mpn_extras.h>Searches for a factor of (x, \mathit{xsize}) among the primes flint_primes[i] for start \le i < stop. Returns the first such i for which the prime divides x, and 0 if there is none. Requires start \ge 1, so that 0 is never a valid index.
Cite this page
The FLINT team, “flint_mpn_factor_trial (mpn_extras.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/mpn_extras/flint_mpn_factor_trial.html (generated 2026-10-20).
@misc{flint-doc-mpn-extras-flint-mpn-factor-trial,
author = {{The FLINT team}},
title = {{flint\_mpn\_factor\_trial (mpn\_extras.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/mpn_extras/flint_mpn_factor_trial.html},
note = {Generated 2026-10-20}
}