FLINT3.7.0-dev

fmpz_jacobi

Synopsis#include <flint/fmpz.h>
int fmpz_jacobi(const fmpz_t a, const fmpz_t p)source

Returns the Jacobi symbol \left(\frac{a}{p}\right) for any a and odd p > 0. The conditions on p are not checked.

Cite this page

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