FLINT3.7.0-dev

unity_zpq_gauss_sum, unity_zpq_gauss_sum_character_pow, unity_zpq_gauss_sum_sigma_pow

Synopsis#include <flint/aprcl.h>
void unity_zpq_gauss_sum(unity_zpq f, ulong q, ulong p)source
void unity_zpq_gauss_sum_character_pow(unity_zpq f, ulong q, ulong p, ulong pow)source
void unity_zpq_gauss_sum_sigma_pow(unity_zpq f, ulong q, ulong p)source

Set f to the Gauss sum \tau(\chi_{p,q}) = \sum_x \chi_{p,q}(x) \zeta_q^x, to \tau(\chi_{p,q}^{\mathit{pow}}), and to \sigma_n(\tau(\chi_{p,q})).

Cite this page

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