E067: Gauss sums: magnitude vs. sqrt(q).¶
Tags: number-theory, quantitative-exploration, visualization, dirichlet-characters
Highlights¶
Constructs full character tables for a small modulus q.
Visualizes values as phases / real parts to spot structure and symmetries.
Checks orthogonality and basic sanity constraints numerically.
What this experiment does¶
For a Dirichlet character χ modulo q, define the Gauss sum
The implementation focuses on a compact, reproducible numerical workflow: deterministic parameter defaults, structured output folders, and one or more figures saved for the gallery.
Outputs¶
This experiment writes into out/e067/:
figures/fig_01_gauss_sum_magnitudes.png
How to run¶
make run EXP=e067
Notes¶
The gallery preview figure shipped with the documentation uses conservative cutoffs so builds stay fast. If you run the experiment locally, increase the cutoffs to see the asymptotic regime more clearly.
Prime-race plots depend on the chosen sampling of
x(linear vs. log grid). The qualitative “who leads” picture can change when you zoom in.
Published run snapshot¶
If this experiment is included in the docs gallery, include the published snapshot (report + params).
q: 7
phi(q): 6
sqrt(q): 2.645751
mean |tau| (nontrivial): 2.645751
min/max |tau| (nontrivial): 2.645751 / 2.645751
Figure:
fig_01_gauss_sum_magnitudes.png
Notes:
For prime q, nonprincipal characters are primitive, and |tau(chi)| clusters near sqrt(q).
params.json (snapshot)
{
"q": 7
}