Primearium research journal

What we found when we counted the primes

Primearium is also an open research project. Here are our own computations: what we counted, how, what it means - and, just as important, what it does not mean.

How to read the labels

Proven
A theorem: true for all numbers, with a proof or a reference.
Conjecture
Widely believed by mathematicians, but not proven.
Heuristic
A calculation that assumes a conjecture is true. Good evidence, not a proof.
Observed up to N
An exact computation over a stated range. It says nothing about numbers beyond it.
Hypothesis
An explanation in natural science that is still being tested.

Lead story Report 02 · as of 28 November 2026

The primes are more orderly than 1,641 random universes

Count how often two primes sit a fixed distance apart. The real primes hit the predicted numbers far more precisely than any random imitation of them does - and a century-old conjecture explains exactly why.

For every even distance d up to 1,000 we counted the pairs of primes p and p + d, and compared each count with the Hardy-Littlewood prediction. The spread of the errors, a single number we call s, is about 1 for pure chance. We then built random "universes": numbers declared prime by a weighted coin flip, with the right density and the right divisibility by small primes - and measured their s in exactly the same way.

The spread s: real primes against every simulated universe Pairs (p, p + d), all even d ≤ 1,000. Each small dot is one random universe (1,641 in total); the gold dot is the real primes in the same range. Lower means closer to the prediction.
Show the data as a table

Key results

    Primes in short intervals: less scatter than chance Variance divided by the mean of the number of primes in [x, x + h), x near 109. Pure chance gives 1. The primes slide down to 0.27 - exactly on the Hardy-Littlewood curve - while random models stay flat.
    Show the data as a table

    Prediction against observation

    The "too orderly" pair counts are not a mystery: a calculation from the Hardy-Littlewood conjecture (shared primes plus long-range correlations between pairs) predicts the spread in every window length. Heuristic

    What it does not show

      See it in the Lab

      How we computed it

      Every number comes from our own programs and is checked against independent known values. Scripts and data are available to researchers on request: kontakt@primearium.com.

      We used a segmented sieve to count prime pairs, gaps and constellations up to 10⁹ and study counts in short intervals near 10⁹. We checked the sieve against published counts π(10ᵏ) for k = 5–9 and compared the measured variation with random models.

      Report 01 · as of 28 November 2026

      Number systems, wheels and prime pairs

      Some distances between primes are far more popular than others - 30 beats 2 by a factor of 2.6. We checked a whole list of such claims with independent code: every "resonance" comes from the small prime factors of the distance, exactly as Hardy and Littlewood predicted in 1923.

      An earlier exploratory conversation with another AI produced numbers about primes in primorial bases (2, 6, 30, 210, 2310 ...), in unusual number systems, about the last digits of consecutive primes and about pairs (p, p + d). We recomputed every one from scratch with our own sieve, checked against the known prime counts up to 108. All the claimed counts were confirmed; some interpretations needed a correction.

      The spectrum of prime pairs Number of prime pairs (p, p + d) with 106 ≤ p and p + d ≤ 107, for even d up to 120. Gold ticks: the Hardy-Littlewood prediction. Switch to "divided" to see what is left.

      Show the data as a table

      Key results

        What it does not show

          See it in the Lab

          How we computed it

          Every number comes from our own programs and is checked against independent known values. Scripts and data are available to researchers on request: kontakt@primearium.com.

          We used modular arithmetic for the wheel and base checks and a sieve of Eratosthenes to count prime pairs and last-digit transitions up to 10⁸. We checked the sieve totals against the published counts π(10ᵏ) in OEIS A006880.

          Report 03 · as of 28 November 2026

          Primes in nature: what is real, what is shared mathematics, what is myth

          Nature has one well-documented prime clock - periodical cicadas that emerge every 13 or 17 years. Most other "primes in nature" are the same mathematics appearing in a different world, or myths that do not survive checking.

          We sorted every claim into three groups: nature really uses primes; same mathematics, different world (random matrices, rational approximation, waves, factorisation); and myths. We recomputed the numbers throughout, except those quoted from the scientific literature.

          Why a prime cycle helps a cicada (one hypothesis) Predators with cycles of 2, 3, 4, 5 and 6 years: how many of their peak years a brood with a c-year cycle meets per emergence, on average (Σ gcd(c, p)/p). Prime cycles meet the fewest. Proven arithmetic; whether it explains cicadas is a Hypothesis
          Show the data as a table

          Key results

            What it does not show

              See it in the Lab

              How we computed it

              Every number comes from our own programs and is checked against independent known values. Scripts and data are available to researchers on request: kontakt@primearium.com.

              We used the Riemann–Siegel formula and bisection to find zeros up to t = 50,000, and checked the counts at t = 100, 1,000 and 10,000 against known values. We also computed cicada-cycle overlaps and compared prime counts in windows between 10⁶ and 4 × 10⁶ with simulated rain models.

              Report 04 · as of 29 November 2026

              The music of the zeros: statistics of the zeta zeros

              The zeros of the zeta function behave like a crystal - and the primes set where that order stops.

              The nontrivial zeros of the Riemann zeta function, 1/2 + iγ, are the "notes" from which the primes can be rebuilt. We computed 15 million of them from scratch, plus samples as high as zero number 1012, and checked that none was missed. Their spacings follow the law of the eigenvalues of large random matrices (the GUE): neighbours repel each other, so the zeros are far more regular than random points. Over long stretches they are even more rigid than random matrices - and the primes themselves explain why.

              How much the count wobbles: zeros, random matrices, primes Number variance Σ²(L): how much the number of points in a window varies when the window holds L points on average (log-log scale). Pure chance gives L. The zeros near zero number 1012 stop growing at about 0.5, and Berry's sum over the primes follows every wiggle. Heuristic
              Show the data as a table

              Key results

                The higher you go, the closer to random matrices

                Variance of the unfolded spacings (mean spacing 1) in each height band, and the Kolmogorov-Smirnov distance to the exact GUE law (Gaudin) times √n. For random-matrix samples of 104-4·104 spacings that last number is about 0.5-0.6.

                What it does not show

                  See it in the Lab

                  How we computed it

                  Every number comes from our own programs and is checked against independent known values. Scripts and data are available to researchers on request: kontakt@primearium.com.

                  We used Euler–Maclaurin summation and the Riemann–Siegel formula to locate the first 15,000,005 zeros and sample three higher windows, one near zero number 10¹². We cross-checked the two formulas where their ranges overlap, matched the first zeros to published values, and checked the counts with Turing’s method in double precision.

                  Report 05 · as of 29 November 2026

                  Digits of primes across bases

                  How often a prime starts with a given digit depends on where you stop counting. In binary, crossing out multiples of 3 brings the distribution of the number of 1s much closer to what we see in primes.

                  The same number can look very different when you write it in a different base. Thirteen is 13 in decimal and 1101 in binary. We looked at every prime up to a billion in bases 2 through 36 and asked which digits turn up at the start, at the end and in between. The place where we stop matters. If you stop at 150, for example, the three-digit numbers you’ve counted all start with 1. The models account for where the count stops and for the fact that primes become sparser as numbers grow.

                  Which digit comes first in base 10? The bars show shares up to a billion. The density model accounts for how the frequency of primes changes over that range. Benford’s law gives a separate reference distribution.
                  Show the data as a table
                  Counting 1s in 30-bit numbers For each number of 1s, the chart shows the difference in share from all 30-bit odd integers, in percentage points. Every group stops at a billion. The table shows the shares themselves.
                  Show the data as a table

                  Key results

                    What it does not show

                      See it in the Lab

                      How we computed it

                      Every number comes from our own programs and is checked against independent known values. Scripts and data are available to researchers on request: kontakt@primearium.com.

                      We used a segmented sieve to find all primes up to 10⁹ and tallied their digits in bases 2 through 36. We checked the sieve against the published counts π(10ᵏ) for k = 1–9 and cross-checked the digit and binary-weight counts by direct base conversion on a small range.