flint_mpn_factor_pollard_brent_single
Synopsis
#include <flint/fmpz_factor.h>int flint_mpn_factor_pollard_brent_single(nn_ptr factor, nn_ptr n, nn_ptr ninv, nn_ptr a, nn_ptr y, ulong n_size, ulong normbits, ulong max_iters)sourceThe limb-level implementation of fmpz_factor_pollard_brent_single, in the shifted representation, for \mathit{n\_size} \ge 2 limbs. GCDs are taken once every 100 iterations on the accumulated product of the differences, with backtracking if the product becomes 0 \bmod n. Returns the number of limbs of the (shifted) factor, or 0.
Cite this page
The FLINT team, “flint_mpn_factor_pollard_brent_single (fmpz_factor.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz_factor/flint_mpn_factor_pollard_brent_single.html (generated 2026-10-20).
@misc{flint-doc-fmpz-factor-flint-mpn-factor-pollard-brent-single,
author = {{The FLINT team}},
title = {{flint\_mpn\_factor\_pollard\_brent\_single (fmpz\_factor.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpz_factor/flint_mpn_factor_pollard_brent_single.html},
note = {Generated 2026-10-20}
}