E075: Prime race statistic: distribution on a log-grid.¶
Tags: number-theory, quantitative-exploration, visualization, prime-races, aps
Highlights¶
Computes prime-race differences π(x;q,a) − π(x;q,b) on a grid of x values.
Visualizes lead changes and the size of fluctuations as x grows.
Adds a derived statistic (normalization / θ-variant) to compare behaviors.
What this experiment does¶
For a prime race difference D(x), a common heuristic normalization is:
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/e075/:
figures/fig_01_statistic_hist.png
How to run¶
make run EXP=e075
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).
x_max: 8000000
n_points: 2000
bins: 60
mean(Z): 1.064
std(Z): 0.473
Figure:
fig_01_statistic_hist.png
params.json (snapshot)
{
"bins": 60,
"n_points": 2000,
"x_max": 8000000
}