_aprcl_is_gausspower_2q_equal_first, _aprcl_is_gausspower_2q_equal_second, _aprcl_is_gausspower_from_unity_p
Synopsis
#include <flint/aprcl.h>Checks of the Gauss sum test, for the Gauss sum \tau(\chi) of a character \chi of conductor q: whether (\chi(-1) q)^{(n-1)/2} \equiv -1 \pmod n and whether q^{(n-1)/2} \equiv -1 \pmod n (for the quadratic character, returning 1 or 0), and for a character of order r, returns i such that \tau(\chi^n) = \zeta_r^i \tau(\chi)^n, or -1 if there is none.
Cite this page
The FLINT team, “_aprcl_is_gausspower_2q_equal_first, _aprcl_is_gausspower_2q_equal_second, _aprcl_is_gausspower_from_unity_p (aprcl.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/aprcl/_aprcl_is_gausspower_2q_equal_first.html (generated 2026-10-20).
@misc{flint-doc-aprcl-aprcl-is-gausspower-2q-equal-first,
author = {{The FLINT team}},
title = {{\_aprcl\_is\_gausspower\_2q\_equal\_first, \_aprcl\_is\_gausspower\_2q\_equal\_second, \_aprcl\_is\_gausspower\_from\_unity\_p (aprcl.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/aprcl/_aprcl_is_gausspower_2q_equal_first.html},
note = {Generated 2026-10-20}
}