FLINT3.7.0-dev

flint_mpn_divisible_1_odd

Synopsis#include <flint/mpn_extras.h>
int flint_mpn_divisible_1_odd(mp_srcptr x, mp_size_t xsize, mp_limb_t d)source

Returns 1 if (x, \mathit{xsize}) is divisible by the odd limb d \ge 3 and 0 otherwise, using GMP's mpn_modexact_1_odd where available.

Cite this page

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