Residue Recurrence and Scaling Properties in the Complex Embedding of Prime Numbers ()
1. Introduction
The distribution of prime numbers remains one of the central problems in analytic number theory. While primes are defined multiplicatively as the fundamental building blocks of the integers, their additive and modular properties have long been studied for signs of hidden order within apparent randomness. Classical approaches include Weyl’s criterion for equidistribution [1], ergodic and combinatorial methods such as Furstenberg’s theorem [2], and probabilistic analogies derived from random matrix theory [3]. Together, these results have progressively deepened our understanding of primes as a sequence that, although seemingly irregular, admits subtle forms of arithmetic and spectral coherence [4].
A related theme in modern mathematical analysis is that nonlinear or geometric representations often reveal regularities in sequences that appear random in their native arithmetic domain. Fractal strings, spectral zeta functions, and geometric embeddings have revealed self-similarity and scaling behaviour in diverse arithmetic and analytic settings [5] [6]. Similar methods have been applied to visualise and study the global geometry of prime distributions [7]-[9].
While earlier visual studies have explored prime distributions in the complex plane, those approaches were primarily descriptive or computational. In contrast, the present work develops a formal analytic structure—defining Residue Recurrence Classes (RRCs) and a quasi-harmonic prime summation function—to characterise angular recurrence, interference, and scaling behaviour within this complex embedding. The aim is not to propose a deterministic law of primes, but to identify reproducible geometric features that may inform further theoretical exploration.
In this work, we propose a complex-analytic framework that treats each prime number as a point on the unit circle,
where
may be interpreted as a unit oscillator with phase
[10]. This mapping enables the study of prime sequences modulo
in a rotational and multiplicative context, extending classical results on distributions modulo 1. This approach reveals angular recurrence and clustering phenomena that appear to correspond to the roots and powers of smaller primes.
We define Residue Recurrence Classes (RRCs) as subsets of primes sharing angular residues generated by integer or fractional roots of smaller primes. Empirical analyses indicate that RRCs contain many primes and exhibit coherence along distinct angular branches. Furthermore, we introduce a quasi-harmonic prime function, constructed as a weighted cosine sum over prime residues, and a cumulative complex prime centre summation whose components satisfy a power-law relation suggestive of self-similar scaling.
These findings point to a possible secondary layer of analytic organisation within the prime sequence. Although the results are heuristic and partly empirical, they motivate conjectures regarding the density of RRCs and the asymptotic scaling invariance of prime summations. More broadly, the goal of this study is to provide a coherent analytic framework linking modular recurrence, harmonic structure, and geometric scaling within a unified representation of prime numbers—a perspective that may bridge discrete number theory with ideas from spectral and dynamical analysis.
2. Complex Representation of Prime Numbers
Definition 1 (Prime as Complex Oscillator) Let
. Its complex exponential embedding is
This maps the primes to the unit circle in the complex plane.
Definition 2 (Angular Residue) For
, define its modulo residuum as
Remark Primes
are mapped directly without angular wrapping as shown in Figure 1. For example,
Figure 1. Primes 2, 3, and 5 on the unit circle.
3. Roots and Powers of Prime Oscillators
Theorem 1 (de Moivre’s Identity for Primes) Let
and
. Then,
Proof. This is followed by induction on
using the trigonometric product-to-sum identities. For negative
, use
Corollary 1 (Complex Roots of Primes) The nth root of
is given by
This root also lies on the unit circle, evenly dividing the angular position of the original prime representation.
Definition 3 (Residue Recurrence Class (Integer Root Case)) Fix
,
, and let
denote an angular tolerance. We define the Residue Recurrence Class with precision
as
Remark In our numerical experiments, we used
radians, which provides a balance between computational sensitivity and numerical stability. This tolerance ensures that only primes with tightly aligned angular residues are included, while maintaining reproducibility of the empirical findings.
For
,
, we have
. The following primes are in
:
Definition 4 (Residue Recurrence Class (Fractional Root Case)) Let
,
, and
. Then, the fractional-root Residue Recurrence Class is defined as
Remark Let
and the conjugate root at
. Two recurrence clusters were identified.
Cluster A:
Cluster B:
These clusters illustrate how fractional prime roots produce multibranch angular recurrences among larger primes. Each angular value corresponds to a distinct branch of the complex root, forming a double-lobed recurrence pattern on the unit circle as shown in Figure 2. This behaviour suggests that
is multivalued when
, reflecting the complex analytical structure of fractional exponents.
Figure 2. Residue recurrence classes (RRC). Clusters A and B align with the two conjugate roots of 2−0.5.
4. Conjugate Symmetry and Clustering
Lemma 2 For any
, the conjugate may coincide with
for some distinct prime
, forming a conjugate recurrence pair.
Remark
, and
. Cluster:
5. Symmetries and Conjugates
Lemma 3 (Conjugate Pair Cancellation and Prime Representation) Let
be a complex representation of a prime
. Then, its complex conjugate may correspond to a different prime
such that
. When both
and
are included in the quasi-harmonic sum, their effects partially cancel owing to conjugate symmetry:
Thus, the full set of primes cannot define the quasi-harmonic prime function; rather, it is supported by a structurally selective subset, leading to quasi-periodicity in the prime function.
Lemma 4 (Clusters of Primes Approximating Complex Conjugates) Let
be the complex embedding of a prime
and its complex conjugate, then there may exist a finite set of distinct primes
such that
where
and
That is, although
differs significantly from the residues of the
, the
themselves form a tightly clustered set whose angular residues are approximately equal to that of
. These primes form a conjugate residue cluster, suggesting a quasi-linear or recurrent angular alignment among primes under complex embeddings.
6. Quasi-Harmonic Prime Function
Definition 5 (Root-Weighted Residue-Based Prime Oscillator Sum) The root-weighted quasi-harmonic prime function is defined as
where
is the jth prime, and
denotes its angular residue.
Remark The weighting factor
serves both theoretical and empirical purposes. From a theoretical standpoint, it parallels normalisations used in Dirichlet-type series and spectral zeta formulations, where amplitudes are inversely related to the square root of frequency or energy to ensure boundedness of oscillatory sums. Empirically, this weighting was observed to stabilise the quasi-periodic interference patterns of
; unweighted sums, which exhibited erratic oscillations and loss of structure beyond the first few thousand primes.
The function
is shown in Figure 3, using the first 10000 prime residues.
Figure 3. Graphically, the function
intersects the real axis near prime values, providing an analytic signal for prime locations.
7. Helical Structure and Scaling Law
Lemma 5 (Non-Zero Center of Angular Sums) Let
. Then,
. The cumulative sum of prime oscillators does not cancel, unlike the roots of unity.
Definition 6 (Normalized Prime Center Localization as Quasi-Helical Structure) Let
and maps
onto a complex plane with
normalisation.
Remark The trajectory becomes more structured for large
, as shown in Figure 4.
Theorem 6 (Quasi-Helical Structure) The centre point of the prime oscillators is defined as scaled by the real parameter
. As
, the centre traces a helical trajectory in 2D space.
Figure 4. Prime oscillators centre summation as scaled by the real parameter t, shown for t = 1 (left panel) and t = 18000 (right panel).
Scaling Law of Angular Sums: numerical evaluation of the cumulative complex prime
suggests an approximate scaling relationship between its real
and imaginary components
,
Remark This observation is based on empirical data fitted to a power law, as shown in Figure 5, and is not presented as a proven mathematical theorem. The apparent scaling behaviour may reflect an emergent geometric tendency in the cumulative embedding rather than an exact analytical law. The
exponent suggests a fractal-like power law in the distribution of primes under complex normalisation, consistent with the results observed in [6] [8].
Figure 5. Scaling relationship between real and imaginary parts of prime centre summation, with fitted power law.
8. Conclusions
In this paper, we proposed and numerically explored a geometric-analytic framework for studying the distribution of prime numbers via their embedding on the complex unit circle,
. Our analysis revealed two interacting structural layers: 1) angular recurrence linked to integer and fractional roots of smaller primes, and 2) nonlinear summation dynamics exhibiting approximate power-law scaling. The results remain empirical but reproducible across finite prime ranges, suggesting that the apparent randomness of primes may conceal underlying harmonic and geometric tendencies.
The first layer of structure is captured through the introduction of Residue Recurrence Classes (RRCs), which extend classical additive modular studies (e.g., distribution modulo 1) into a multiplicative-rotational setting modulo
. This representation reveals coherent angular clustering of primes aligned with the roots of smaller primes, indicating that certain modular substructures may persist within the globally uniform prime sequence.
The second layer involves two complementary analytical constructions: the quasi-harmonic prime function, defined as a root-weighted cosine sum over prime angular residues, which exhibits interference patterns and partial localisation effects; and the complex prime centre summation, whose cumulative trajectory in the complex plane follows an empirical power-law relation between its real and imaginary components. This scaling, while not exact, suggests a self-similar or fractal-like growth tendency in the aggregate embedding.
Remark The coherence described in the examples refers to numerically observed clustering within bounded prime intervals, rather than an asymptotic or proven analytic property. A systematic statistical analysis over extended prime ranges would be necessary to establish quantitative measures of recurrence strength or density.
Remark It is worth noting that, according to Weyl’s criterion, the sequence of primes modulo 1 (and thus modulo
) is asymptotically equidistributed. The angular clustering effects observed here, therefore, do not contradict equidistribution; they represent local deviations within finite subsets, consistent with small-scale irregularities permitted by the global uniformity predicted by analytic number theory.
Based on the observed patterns, we propose the following conjectures for further mathematical study:
Conjecture 1 (Residue Recurrence Density): For any fixed small prime
and exponent
, the residue recurrence class
has positive lower density within the set of all primes.
Conjecture 2 (Scaling Invariance of Prime Summation): The normalised trajectory of the complex prime centre summation approaches a self-similar attractor curve in the complex plane as the number of terms increases.
Future Work
Further research should seek to formalise the analytic definition and density estimates of RRCs, and to determine whether the observed scaling law admits a closed-form asymptotic formulation. Testing the stability of the scaling exponent over extended computational ranges would also clarify whether this behaviour reflects a genuine number-theoretic regularity or an artefact of finite sampling. Ultimately, such investigations could help determine whether the geometric-analytic representation developed here fits naturally within established analytic frameworks or introduces a new perspective on spectral phenomena in the primes.
Acknowledgements
The author expresses sincere gratitude to V. Djoković for his insightful support and encouragement throughout the development of this work.