FLINT3.7.0-dev

n_factor_ecm_select_curve

Synopsis#include <flint/ulong_extras.h>
int n_factor_ecm_select_curve(ulong * f, ulong sigma, ulong n, n_ecm_t n_ecm_inf)source

Selects a curve and starting point from sigma with Suyama's parametrisation, storing x_0, z_0 and (a + 2)/4 in n_ecm_inf. Returns 1 if a factor of n turned up along the way (stored in *f), otherwise 0.

Cite this page

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