dirichlet_group_size
Synopsis
#include <flint/dirichlet.h>ulong dirichlet_group_size(const dirichlet_group_t G)sourceReturns the number \varphi(q) of elements of G, which is also the number of characters modulo q.
Guides#
Cite this page
The FLINT team, “dirichlet_group_size (dirichlet.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/dirichlet/dirichlet_group_size.html (generated 2026-10-20).
@misc{flint-doc-dirichlet-dirichlet-group-size,
author = {{The FLINT team}},
title = {{dirichlet\_group\_size (dirichlet.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/dirichlet/dirichlet_group_size.html},
note = {Generated 2026-10-20}
}