FLINT3.7.0-dev

dirichlet_group_size

Synopsis#include <flint/dirichlet.h>
ulong dirichlet_group_size(const dirichlet_group_t G)source

Returns 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).