fmpz_euler_phi
Synopsis
#include <flint/fmpz.h>Sets res to Euler's totient , the number of with , and to 0 for . Word-size use n_euler_phi; larger are factored. The function fmpz_factor_euler_phi of fmpz_factor takes a factorisation.
Cite this page
The FLINT team, “fmpz_euler_phi (fmpz.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz/fmpz_euler_phi.html (generated 2026-11-02).
@misc{flint-doc-fmpz-fmpz-euler-phi,
author = {{The FLINT team}},
title = {{fmpz\_euler\_phi (fmpz.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpz/fmpz_euler_phi.html},
note = {Generated 2026-11-02}
}