Prime number gaps follow physical scaling rules under iterative mapping
Mathematical jumps between distant prime numbers mirror statistical physics, showing that structural correlations dampen fluctuations faster than pure randomness would allow.

Prime numbers have puzzled observers for centuries because their sequence exhibits two seemingly contradictory faces.1 Viewed up close, the sequence of integers divisible only by one and themselves appears disorderly and unpredictable, with primes clustering tightly together in some spans and vanishing across vast numerical deserts in others.1 Yet when viewed from a great distance, the aggregate sequence settles into remarkably steady patterns. The overall density of primes steadily declines in proportion to the logarithm of the numbers being surveyed, a balance captured mathematically more than a century ago. How that smooth macroscopic decline connects to the jagged local jumps between individual primes remains one of the central puzzles at the boundary between arithmetic and physics.
Understanding this transition matters because prime numbers repeatedly emerge in places far removed from pure number theory. Researchers in statistical physics, quantum chaos, and dynamical systems have identified striking parallels between the distributions of primes and the behavior of physical matter.1 The energy levels of heavy atomic nuclei, the spectral properties of chaotic quantum systems, and the statistical correlations of disordered materials all reflect mathematical structures reminiscent of prime intervals.1 If the irregular jumps between primes obey dynamical laws similar to those governing physical processes, finding the mathematical rules behind those fluctuations could offer fresh tools for analyzing complex systems across both disciplines.
The sequence behaves according to a simple mechanical principle before any calculations begin. As numbers grow larger along the number line, every successive integer encounters a larger pool of potential smaller divisors. Because an integer is prime only if no smaller prime divides it, larger integers face increasingly steep odds of surviving the test. Consequently, primes thin out as the numbers grow. Between any two primes, the numerical gap reflects this thinning atmosphere. If an observer skips past multiple primes at once, the total distance traversed depends on how rapidly that thinning proceeds between the starting number and the destination.
In a preprint posted to the arXiv repository, Marzena Ciszak, a researcher at the National Institute of Optics of the National Research Council at the European Laboratory for Non-Linear Spectroscopy in Sesto Fiorentino, Italy, reported a new framework for modeling these extended prime intervals.1 The study examined generalized prime gaps, defined as the difference between two primes separated by an arbitrary shift of steps along the sequence, across distances spanning several orders of magnitude.1 The author demonstrated that introducing a simple geometric adjustment to the classical prime counting approximation produces an iterative map that tracks average prime growth while satisfying an approximate algebraic composition property.1 When examining the remaining noise around this map, Ciszak found that the fluctuations follow a Gamma distribution whose variance decays according to an asymptotic power law.1
Why do prime numbers thin out so unpredictably?
Prime gaps fluctuate because the local conditions governing divisibility change from one integer to the next, even while the average density of primes remains governed by the Prime Number Theorem. This classical theorem states that the number of primes up to a large value scales with the value divided by its natural logarithm, meaning the local density of primes near a large prime is roughly one over the natural logarithm of that prime.1 On average, the distance from one prime to the next expands proportionally to that logarithmic quantity. Yet individual gaps routinely deviate from this average baseline, displaying erratic fluctuations that traditional deterministic formulas struggle to capture in single steps.
To explore how these irregularities behave over larger scales, Ciszak analyzed generalized prime gaps, denoted as tau-gaps, representing the numerical difference between a given prime and another prime located a specific number of steps ahead in the sequence.1 While consecutive prime gaps correspond to a step shift of one, examining larger step shifts of one thousand or one hundred thousand primes reveals how local fluctuations accumulate over extended intervals.1 The standard local approximation derived from the Prime Number Theorem estimates that a shift of several steps will produce a gap roughly equal to the number of steps multiplied by the natural logarithm of the starting prime.1 However, this classical baseline assumes that the prime density remains frozen at the starting point of the interval, neglecting how the logarithmic density changes as the numbers advance.
Ciszak proposed an altered local approximation that incorporates a free parameter multiplied by the step shift directly inside the logarithmic argument.1 When expanding this modified logarithmic term into mathematical components, the leading term reproduces the classical logarithmic gap, while higher-order terms introduce corrections that depend on the size of the step shift relative to the starting prime. By adjusting this internal parameter, the formula accounts for the fact that the prime sequence moves into a region of slightly lower density across the span of the jump. This structural shift allows an observer to describe the cumulative distance across multiple primes in a single mathematical step without losing track of the evolving background density.

Marzena told Primary that the initial formulation treated the average prime jump as the eventual outcome of a step-by-step evolution. The compact expression describing the average size of a gap between primes separated by a given step shift follows directly from the approximate Prime Number Theorem, Marzena said in response to questions from Primary. Marzena explained that this expression was assumed to represent the final state of an iterative process, but constructing an iterative map whose finite iterations reach that mean value revealed the need for an additional correction term to reduce the discrepancy between the two descriptions.
How does an interval midpoint improve the prime counting formula?
Evaluating the logarithmic density at the approximate midpoint of the numerical interval minimizes the mathematical error that accumulates when compounding prime steps.1 In the preprint, Ciszak evaluated the discrepancy between two ways of calculating an extended prime jump: either calculating the jump through a single logarithmic formula or summing consecutive single-step logarithmic estimates across the entire span.1 Because the natural logarithm is a nonlinear function, adding together many small logarithmic increments does not yield the exact same total as taking a single logarithm over the entire span. This discrepancy creates an accumulated error that grows with the size of the step shift.
By conducting a mathematical expansion under the condition that the step shift remains much smaller than the starting prime divided by its logarithm, Ciszak calculated the leading terms of this error.1 The analysis revealed that setting the internal adjustment parameter equal to half the natural logarithm of the starting prime causes the dominant error terms to cancel each other out.1 Because the average distance between consecutive primes near that point is approximately equal to the natural logarithm itself, this mathematical choice corresponds to evaluating the local prime spacing at the middle of the interval spanned by the jump. This adjustment reduces the remaining leading error to a higher-order term that scales with the cube of the step shift divided by the square of the starting prime.
Marzena told Primary that the midpoint term was not an intentional guess inserted in advance. This extra term appeared unexpectedly during the derivation of the iterative map, Marzena said in response to questions from Primary, adding that it emerged directly from the algebra itself. Marzena noted that numerical analysis confirmed that including this term brings the normalized prime gaps closer to a stationary mean, and that comparing the corrected leading-order term with exact unfolding based on the logarithmic integral function shows agreement up to second order, confirming that the midpoint correction captures genuine next-order behavior.
This midpoint correction leads directly to an iterative map, a mathematical rule that computes the next state of a system by feeding its current output back into the equation. In Ciszak's formulation, applying this iterative map repeatedly models the progression of prime magnitudes across successive blocks of steps. The paper showed that this map satisfies an approximate semigroup property, an algebraic condition where executing two consecutive updates over two intervals yields the same result as executing a single combined update. While nonlinear dependencies prevent the map from forming an exact semigroup, Ciszak established that the midpoint correction cancels the leading compositional defect, leaving an error that diminishes rapidly as prime magnitudes increase.
Ciszak tested this theoretical derivation numerically by partitioning a sequence of primes into consecutive blocks containing one hundred million primes each. Within these blocks, the study calculated the empirical values of the parameter that minimized the subtractive residual errors across various step shifts. The numerical regressions confirmed that the optimal empirical parameters converged toward stable values that closely matched the theoretical midpoint values calculated across each block. For the first three prime blocks examined, the optimal fitted values settled near 10.56, 11.05, and 11.18, aligning with the theoretical average midpoint values of 10.69, 11.08, and 11.29 reported in the paper.
What do the fluctuations reveal about prime spacing?
The residual deviations separating real prime gaps from the smooth iterative map follow a well-defined statistical distribution with power-law variance scaling.1 While the iterative map describes the deterministic average trajectory of prime jumps, individual gaps consistently fall above or below this smooth curve. Ciszak separated these deviations into subtractive residuals, which represent the raw arithmetic differences between observed gaps and the model, and relative residuals, obtained by dividing the observed gaps by the model values. While the raw differences exhibited non-stationary variance that expanded as primes grew larger, the relative residuals remained statistically stationary, providing a stable foundation for distribution modeling.

The study found that the relative residuals closely match a Gamma distribution, a continuous probability distribution defined by a shape parameter and an inverse scale parameter.1 In statistical physics, Gamma distributions frequently appear when modeling waiting times, aggregated displacements, or renewal point processes where individual discrete events accumulate over time. To establish a baseline for comparison, Ciszak constructed a stochastic reference process using ordered samples of uniformly distributed random numbers. For the random baseline, the distribution shape parameter grew in strict linear proportion to the step shift.1 For prime numbers, however, the shape parameter exhibited a distinct nonlinear power law.
Marzena told Primary that the convergence toward a Gamma distribution reflects a cumulative build-up of positive quantities. The observed convergence toward a Gamma distribution is consistent with an accumulation process in which positive contributions from successive prime intervals build up the total fluctuation, Marzena said in response to questions from Primary. In contrast, Gaussian distributions typically arise when positive and negative fluctuations balance out independently, whereas the accumulation of positive interval lengths yields a one-sided Gamma profile whose scaling indicates that successive prime intervals share statistical dependencies.
Across primes evaluated up to twenty billion, the paper reported that the Gamma shape parameter followed a power-law relation with an exponent of 1.081, consisting of unity plus an offset of 0.081.1 Because the variance of this normalized Gamma distribution equals the reciprocal of the shape parameter, the variance of the relative prime fluctuations decayed as an inverse power law of the step distance.1 This scaling shows that fluctuations around the average prime trajectory dampen more rapidly across wide separations than a purely random point process would predict, revealing persistent structural correlations across the prime sequence.
Asked about the physical origin of that 0.081 exponent deviation, Marzena said that the slower growth of variance may reflect weak negative correlations between adjacent gaps. A plausible origin for such a correlation could lie in arithmetic constraints linking nearby primes, related to the ideas behind the Hardy-Littlewood conjecture, Marzena told Primary. Because divisibility patterns of a preceding prime make certain following gap sizes more probable than others, nearby gaps do not behave as independent coin flips, though Marzena cautioned that establishing a direct formal proof linking divisibility rules to the global exponent will require further research.
What are the limits of the mapping?
The mathematical findings described in the preprint represent empirical models and asymptotic approximations rather than formal number-theoretic proofs. The iterative map and its error bounds rest on the condition that the step shift remains substantially smaller than the ratio of the starting prime to its natural logarithm, meaning the approximation degrades if the jump size approaches the magnitude of the prime itself.1 Furthermore, the statistical parameters and power-law scaling exponents reported by Ciszak were estimated across an empirical dataset capped at twenty billion, leaving open whether the observed scaling holds indefinitely across the infinite expanse of natural numbers.1 The preprint has been posted to a public repository and has not completed formal peer review by independent mathematicians.
Addressing the validity bounds of the formula, Marzena explained that the mathematical constraint does not stop the mapping from projecting average prime locations arbitrarily far along the number line. Rather than applying the map once with an excessively large jump that breaks the validity condition, an analyst can apply the map repeatedly across small, valid increments that each stay within the safe range, Marzena told Primary. Marzena emphasized that the model is a statistical framework rather than an exact prime generator, serving to separate deterministic growth and variance modulation from the erratic residual noise that still awaits a full mathematical explanation.
Regarding whether the power-law exponent of 1.081 holds across the infinite line of numbers, Marzena noted that computational sampling cannot settle the question of universality. No finite amount of numerical evidence can rule out a deviation occurring beyond the range tested, Marzena told Primary, explaining that extending tests to trillions would strengthen confidence but could never establish universal mathematical truth. Only an analytical proof can provide a final answer, a task the researcher hopes the empirical discovery will inspire.
Despite these open theoretical questions, the emergence of Gamma-distributed fluctuations and power-law scaling strengthens the conceptual bridges connecting number theory with statistical mechanics. Prime numbers demonstrate collective regularity and structural memory across multiple observational scales. The existence of an iterative map that tracks leading prime growth while preserving approximate composition suggests that dynamical systems tools can help quantify the boundary between arithmetic order and statistical noise. As researchers continue seeking unified descriptions of complex spectra, analyzing prime gaps across variable distances offers a concrete testing ground for understanding how deterministic rules generate apparent randomness in nature.
The record
31 sentences trace to 1 source and 1 contributor.
- 1 Iterative map with power-law scaling of Gamma-distributed fluctuations related to prime numbers Preprint · may not have been peer reviewed See the source
- 2 Contribution — Marzena Ciszak 13 statements added to this article
Other consulted pages1 page
Article history
-
Published 28 Nov 2026, 01:53Assembled by the Primary desk from 1 source · 1 contributor · 31 cited sentences
-
Marzena Ciszak, a researcher at the National Institute of Optics of the National Research Council at the European Laboratory…
- Go to the sentence: The author demonstrated that introducing a simple geometric adjustment to the classical prime counting approximation produces an iterative map that tracks average prime growth while satisfying an approximate algebraic composition property.
- Go to the sentence: The compact expression describing the average size of a gap between primes separated by a given step shift follows directly from the approximate Prime Number Theorem, Marzena said in response to questions from Primary.
- Go to the sentence: Marzena explained that this expression was assumed to represent the final state of an iterative process, but constructing an iterative map whose finite iterations reach that mean value revealed the need for an additional correction term to reduce the discrepancy between the two descriptions.
- Go to the sentence: The analysis revealed that setting the internal adjustment parameter equal to half the natural logarithm of the starting prime causes the dominant error terms to cancel each other out.
- Go to the sentence: This extra term appeared unexpectedly during the derivation of the iterative map, Marzena said in response to questions from Primary, adding that it emerged directly from the algebra itself.
- Go to the sentence: Marzena noted that numerical analysis confirmed that including this term brings the normalized prime gaps closer to a stationary mean, and that comparing the corrected leading-order term with exact unfolding based on the logarithmic integral function shows agreement up to second order, confirming that the midpoint correction captures genuine next-order behavior.
- Go to the sentence: The study found that the relative residuals closely match a Gamma distribution, a continuous probability distribution defined by a shape parameter and an inverse scale parameter.
- Go to the sentence: The observed convergence toward a Gamma distribution is consistent with an accumulation process in which positive contributions from successive prime intervals build up the total fluctuation, Marzena said in response to questions from Primary.
- Go to the sentence: Across primes evaluated up to twenty billion, the paper reported that the Gamma shape parameter followed a power-law relation with an exponent of 1.081, consisting of unity plus an offset of 0.081.
- Go to the sentence: A plausible origin for such a correlation could lie in arithmetic constraints linking nearby primes, related to the ideas behind the Hardy-Littlewood conjecture, Marzena told Primary.
- Go to the sentence: The iterative map and its error bounds rest on the condition that the step shift remains substantially smaller than the ratio of the starting prime to its natural logarithm, meaning the approximation degrades if the jump size approaches the magnitude of the prime itself.
- Go to the sentence: Furthermore, the statistical parameters and power-law scaling exponents reported by Ciszak were estimated across an empirical dataset capped at twenty billion, leaving open whether the observed scaling holds indefinitely across the infinite expanse of natural numbers.
- Go to the sentence: No finite amount of numerical evidence can rule out a deviation occurring beyond the range tested, Marzena told Primary, explaining that extending tests to trillions would strengthen confidence but could never establish universal mathematical truth.
