The Gaps between Primes

Abstract

The union of the straight and—of the over a point of reflection—reflected union of the series of the arithmetic progression of primes results the double density of occupation of integer positions by multiples of the primes. The remaining free positions represent diads of equidistant primes to the point of reflection: in case the point of reflection is an even number, they satisfy Goldbach’s conjecture. Further, it allows to prove, that the number of twin primes is unlimited. The number of all greater gaps as two between primes has well defined lower limit functions as well: it is evaluated with the local density of diads, multiplied with the total of the density of no-primes of all positions over the distance between the components of the diads (the size of the gaps). The infinity of these lower limit functions proves the infinity of the number of gaps of any size between primes. The connection of the infinite number of diads to the infinity of the number of gaps of any size is the aim of the paper.

Share and Cite:

Doroszlai, P. and Keller, H. (2022) The Gaps between Primes. Advances in Pure Mathematics, 12, 757-771. doi: 10.4236/apm.2022.1212058.

1. Introduction

Some of the unsolved problems of number theory are related to the equidistance of two primes to a midway point. Such is the infinite set of twin primes equidistantly placed around the series of multiples of six and the infinite sets of any two primes equidistantly placed around an even number composing diads and satisfying Goldbach’s conjecture.

The present paper gives the analysis of the number of diads with no primes in between their components, composing gaps: the number of diads composed by consecutive primes. The formula representing the number of diads must be modified correspondingly with the density of no-primes within the gaps. This extension of the number of diads by the density of no-primes within the gap of the components of the diads is the main topic of the present paper. It gives the proof in detail, that the infinity of the number of gaps of any size is based on the infinity of the number of diads of any size, as already stated in reference [1].

First the simplification of the integral of the density of primes resulting the prime-number-formula—as given in detail in reference [2] —is given shorted.

Secondly the same method applied to the symmetric series of the union of the sets of multiples of primes—given in detail in reference [1] —is shortly repeated. Reflecting of the union of the series of multiples of primes around a midway point creates a symmetric assembly. The infinity of the sum of the remaining free integer positions representing primes allows to analyze and solve unsolved problems, such as Goldbach’s conjecture, the infinity of the number of twin primes and the presence of primes within the section of the size equal to the square root of the distance to the origin, following any distance, as given in ref. [1].

Third the infinity of the sum of the number of primes symmetrically placed around the central point—composing diads—is used to prove the infinity of the sum of the gaps of any size between primes: by inserting into the formula of the sum of diads and into the low limit of this sum the probability of no-primes between the components of the diads. Because the effect of the probability of no-primes approaches unity for distances rising to infinity, the number of gaps of any size approaches the number of diads, as already stated in ref. [1].

Because the infinity of the sum of prime gaps of any size is an extension of the infinity of twins to larger gaps, the infinity of the twins—given in detail in reference [1] —is shortly repeated in Annex 1. The most important results of the analysis of the infinity of the sum of prime gaps of any size are checked and illustrated in Annex 2 with numeric results.

Similar work by Zhang ref. [3] [4] is non-conclusive following notes from Green ref. [5]. Another remarkable approach to prove the infinity of the number of gaps of any size is given by Vega, ref. [6].

2. Density of Occupation of Subsets of All Integers by the Union of the Series of Multiples of Primes

De la Valée Poussin proved 1899, that ( π ( c ) L i ( c ) ), the integral of the local logarithmic density ( 1 / ln ( c ) ) of positions free of multiples of all smaller primes, up to the square roots of the distance. Approximating the integral by the sum of the logarithmic density over all integers—see (ref. [1])—is in the following named as sum over all integers:

π ( c ) = L i ( c ) + O ( c ) 2 c 1 ln ( c ) d c ; π a p p r ( c ) n = 2 c 1 ln ( c ) (1.1)

This above sum written as summing up first over all integers within the sections of the length ( c ) and then summing up over all the ( c ) sections of the length ( c ), then taking the average value over each section and summing up over all the sections is a first simplification—in the following used as sum over all sections—gives:

π a p p r ( c ) n = 2 c 1 ln ( c ) = j = 2 c [ n = ( j 1 ) c j c 1 ln ( c ) ] j = 1 c c ln ( j c ) (1.2)

Taking for each of the sections the smallest value of the density—at the upper limit of the sections ( j = c )—results the low limit of the number of primes: the well proven prime-number-formula PNF, as second simplification of the above approximation of the integral in (1.1).

j = 1 c c ln ( j c ) > π P N F ( c ) = j = 1 c c ln ( c c ) = c ln ( c ) = S ( c ) (1.3)

Taking for each of the sections the largest value of the density at ( j = 1 ) gives the upper limit of the number of primes:

j = 1 c c ln ( j c ) < j = 1 c c ln ( 1 c ) = c ln ( c ) = 2 S ( c ) (1.4)

Reflecting the series of multiples of any prime over a point at the distance (c) from the origin results the double density of occupation by the series of multiples of the prime considered, presumed the prime is not a dividend of the distance (c). The union of the series of multiples of all primes up to ( c ) leaves positions free, representing equidistant primes to the point of the reflection. If the point of reflection is a prime, then the positions left free by the double density of occupation represent primes, which are equidistantly placed around the point of reflection. This, because the straight and the reflected series of multiples of each prime are mutually exclusive. The remaining free positions are composing diads. If a prime is a dividend of (c), then the reflection of the series of multiples of this prime does not change the occupation of integer position: Therefore, the double density of occupation by the union of the series of multiples all primes up to ( c ) leaves the smallest number of positions free.

The local density of free positions left at the distance (d, 2 < d < c ) below the

point of reflection by the straight series of multiples is ( 1 ln ( c d ) ), above the point of reflection by the reflected series is ( 1 ln ( c + d ) ). The combined local

density of free positions is, as elaborated in detail in ref. [1], with the constant ( δ 2 : = 1.32032 ) (This constant has the double value of the twin prime constant (C2) defined by G. H. Hardy and John Littlewood):

D d i a d ( c , d ) = δ 2 ln ( c d ) ln ( c + d ) > δ 2 ln ( c ) 2 (1.5)

Similarly to the evaluation of the number of primes as simplification of the integral of the local logarithmic density of primes in (1.2), the best estimate of the total number of diads results as simplification of the integral of this above density by taking the sum over all integers (This same generalization from the primes to the twins, respectively to the k-tuples was made already by G. H. Hardy and John Littlewood):

π d i a d _ a p p r _ ( c ) n = 1 c δ 2 ln ( n c ) ln ( 2 c n c ) (1.6)

This above sum may be written as summing up first over all integers within the sections of the length ( c ) and then summing up over all the ( c ) sections of the length ( c ). Taking the average value over each section and—as a first simplification—summing up over the sections gives:

π d i a d _ a p p r _ ( c ) = j = 1 c n = ( j 1 ) c j c δ 2 ln ( n c ) ln ( 2 c n c ) = j = 1 c δ 2 c ln ( j c ) ln ( 2 c j c ) (1.7)

Similarly, to the second simplification in case of the primes in (1.4) the low limit of the best estimate number of diads results with the density taken for all sections of the length ( c ) with ( j = c ) at the upper limit of the sections, the diads-number-formula (DNF):

π d i a d _ a p p r _ l o w _ ( c ) = j = 1 c δ 2 c ln ( c ) ln ( 2 c c ) = δ 2 c ln ( c ) 2 ( j = 1 c 1 ) = δ 2 c ln ( c ) 2 (1.8)

The upper limit of the best estimate number of diads results with the density taken for all sections of the length ( c ) with ( j = 1 ) at the lower limit of the distance gives:

π d i a d _ a p p r _ h i g h _ ( c ) = j = 1 c δ 2 c ln ( c ) ln ( 2 c c ) = 2 δ 2 c ln ( c ) ln ( 2 c c ) (1.9)

The diads-number-formula DNF allows to prove the infinity of the number of twin primes, see ref. [1]. Twin primes are diads with a gap equal to two between their components. Because their number is growing to infinity with the distance, it offers the possibility to proof the infinity of the number of gaps of any size: the DNF must be modified for growing distances between consecutive primes for this purpose, taking account of the requirement, that the components of the diads are consecutive primes in this case.

The distances between the components of the diads in (1.7) may be subdivided is subsets with identical methods of the evaluation of the sum of the number of diads for each subset. Such subdivision is known to be applied to accelerate finding twins by Eratosthenes sieve. The definition of these subsets is the following:

Definition of subsets of all integers:

With the infinite number of integers ( s , = 1 , 2 , 3 , , ) all integers are part of one of the following infinite subsets:

N s u b ( a , s ) = { a + s P ( 1 ) P ( 2 ) ; a = 0 , 1 , 2 , 3 , 4 , 5 } (1.10)

All integers in the subsets for ( a = 0 , 2 , 3 , 4 ) are divisible either by ( P ( 1 ) ), and/or by ( P ( 2 ) ). Therefore, all primes ( P ( m ) , { m = 3 , 4 , 5 , , } ) are members of one

of the infinite subsets ( a = 1 ) or ( a = 5 ), having the distance ( N 2 = 1 ) to the members of the set ( a = 0 ).

Members of the subset ( a = 0 ) with one of their neighboring positions equal to a prime compose the infinite subsets of these subsets:

N s u b ( 5 , s ) = { a + s P ( 1 ) P ( 2 ) ; a = 5 ; s } ; N s u b ( 1 , s ) = { a + s P ( 1 ) P ( 2 ) ; a = 1 ; s } (1.11)

Any two primes with the distance (N) between them compose diads. The distance between the primes composing the diads, (N) is the distance of the components, an even number. The center point of the distance of the components has the distance (c) to the origin and is named in the following the distance of the diads. The only condition is, that the half-distance of the components of any diad must be smaller, then the distance of the diad ( N / 2 < c ).

In the table below is listed, which values may take the distances of the components (N) of the diads belonging to one of the subsets ( a = 0 , 1 , 2 , 3 , 4 , 5 ) and ( s = 0 , 1 , 2 , 3 , 4 , 5 , ) corresponding to (1.11).

In case the center point of the diads is at the distance ( c ( a , s ) = a + 6 s )—corresponding to the subsets (a)—the following distances of the components of the diads (N) are possible:

a 1 2 N ( a , s ) N ( a , s )

0 a + 1 + 6 s = 1 , 7 , 13 , 19 , 2 , 14 , 26 , 38 , (1.12)

0 a 1 + 6 s = 5 , 11 , 17 , 23 , 10 , 22 , 34 , 46 ,

1 a 1 + 6 s = 6 , 12 , 18 , 24 , 12 , 24 , 36 , 48 , (1.13)

2 a + 1 + 6 s = 3 , 9 , 15 , 21 , 6 , 18 , 30 , 42 , (1.14)

3 a + 1 + 6 s = 4 , 10 , 16 , 22 , 8 , 20 , 32 , 44 , (1.15)

3 a 1 + 6 s = 2 , 8 , 14 , 20 , 4 , 16 , 28 , 40 ,

4 a + 1 + 6 s = 3 , 9 , 15 , 21 , 6 , 18 , 30 , 42 , (1.16)

5 a 1 + 6 s = 6 , 12 , 18 , 24 , 12 , 24 , 36 , 48 , (1.17)

This way the center point ( c ( 0 , s ) ) is equal to the smallest positive integers with potential prime positions both sides at the distance ( N / 2 = 1 ), meaning twins. The set of the distances of the components of the diads (N) covers the set of all even integers. The sets of the distances for ( a = 1 ) with ( a = 5 ) as well as the sets for ( a = 2 ) with ( a = 4 ) are identical.

If the components of the diads are consecutive primes, then the corresponding distance of the components is equal to a prime gap. The number of diads—at growing distance, with the corresponding even number as distance of their components—is unlimited. With (1.8) in ref. [2] the low limit of the number of diads—including twin primes—is given by the diads-number-formula and grows to infinity.

The best estimate number and the low limit of diads are evaluated in (1.7) and (1.8) as sum over all sections of the length ( c ). The same formula written for any of the group of distances ( c ( a , s ) ) gives:

π d i a d _ a p p r _ ( c ( a , s ) ) = j = 1 c ( a , s ) δ 2 c ( a , s ) ln ( j c ( a , s ) ) ln ( 2 c ( a , s ) j c ( a , s ) ) (1.18)

π d i a d _ a p p r _ l o w ( c ( a , s ) ) = j = 1 c ( a , s ) δ 2 c ( a , s ) ln ( c ( a , s ) ) 2 = δ 2 4 R ( c ( a , s ) ) 2

If between ( c ( a , s ) N 2 ) and ( c ( a , s ) + N 2 ) there are no primes, then the diads represents a gap between consecutive primes.

As an example, for the diads the twin primes are evaluated as a special case of

(1.3), with ( N 2 = 1 ). In this case there are no primes within the gaps. For

( c ( 0 , s ) = 6 s ) the density of occupation of twins is:

D T w _ f r e e ( c , j ) = δ 2 ln ( j c 1 ) ln ( j c + 1 ) (1.19)

The approximating function of the total number of twins up to (c), with density in case of the double occupation by the union of the series of multiples of the primes and with the factor of correction gives the twin-number-formula:

T W a p p r _ ( c ) = δ 2 c j = 1 c D t w _ f r e e ( c , j ) > T W ( c ) = δ 2 c ln ( c ) 2 (1.20)

The evaluation and the comparison with the effective number twins are carried out in ref. [2]. Because of the implication of the number of twins to the number of gaps of any size, the evaluation is given in the present paper as well, in Annex 1.

The number of diads (1.18) gives the number of potential gaps. The density of

primes at any point (c) inside the gap is ( 1 ln ( c ) ). The density of points being no-primes is ( 1 1 ln ( j c ) ). The combined density of two points being no-primes

is the product of the density at each point. The combined density of all no-primes within the gaps is the product of the density of all points within the gap:

( ( 1 1 ln ( c ) ) N 1 ).Herewith the density of gaps is the product of the density of diads and the density of no-primes

D g a p ( c , j , N ) = δ 2 ln ( j c N 2 ) ln ( j c + N 2 ) ( 1 1 ln ( j c ) ) N 1 (1.21)

The approximating number of gaps of a given size (N) is evaluated—analogue to (1.18)—as sum over all sections of the length ( c ) of the density values, as follows:

π g a p _ a p p r ( c , N ) = j = 1 c c ( D g a p ( c , j , N ) ) = j = 1 c δ 2 c ( 1 1 ln ( j c ) ) N 1 ln ( j c ) ln ( 2 c j c ) (1.22)

The low limit of the number of gaps is evaluated analogue to the well proven prime-number-formula PNF with (1.3) and the diads-number-formula DNF with (1.8) as second simplification. Therefore, it may be considered as proven as well. Taking with (1.8) for each of the sections the smallest value of the density of diads at ( j = c ), respectively the density of no-primes at ( j = 1 ) yields the gap-number-formula GNF:

π g a p _ a p p r _ l o w ( c , N ) = δ 2 c ( 1 1 ln ( c ) ) N 1 ln ( c ) 2 j = 1 c 1 = δ 2 c ( 1 1 ln ( c ) ) N 1 ln ( c ) 2 (1.23)

Lemma 1.1:

The density of no-gaps between any bounded size of diads approaches unity for distances growing to infinity.

Proof: The limit of the number of no-primes within each gap is (1.22), it is approaching unity:

l i m c ( 1 1 ln ( c ) ) N 1 = 1 (1.24)

as stated in the lemma and concluding the proof.

Therefore, the number of the gaps approaches the number of the diads for distances growing to infinity and the gaps-number-formula as low limit of the number of gaps grows to infinity, like the number of the diads, as proved in ref. [2].

The number of the gaps of the size (N) within the sections of the size ( c ) is

limited to ( c N ). This number outgrows the number of the primes within the section ( c ln ( c ) ) for distances over ( c l i m ):

c N > c ln ( c ) for ( c > c l i m = e N ) (1.25)

The effective number of gaps of a given size is evaluated in Annex 2 on the condition, that any diad representing a gap is composed by consecutive primes. The comparison of the effective number of gaps with its approximation requests the introduction of two constants in Equations (1.22) and (1.23):

π g a p _ a p p r ( c , N ) = j = 1 c K 1 δ 2 c ( 1 1 ln ( j c ) ) K 2 ( N 1 ) ln ( j c ) ln ( 2 c j c ) ; π g a p _ a p p r _ l o w ( c , N ) = K 1 δ 2 c ( 1 1 ln ( c ) ) K 2 ( N 1 ) ln ( c ) 2 (1.26)

The introduction of the two constants ( K 1 2 ) and ( K 2 = 5 4 ) in the formula

results from the comparison with the effective number of the gaps in Annex 2. These constants do not influence the fact of the infinity of the number of the gaps.

The approximation as best estimate and the effective number of the gaps of the sizes:

( N ( a , s ) = 2 , 14 , 26 , 38 , 50 , 62 , 74 , 86 , 98 , 110 , 122 , 134 )—with the set defined as ( a = 1 , s = 1 , , 12 )—over the distance is evaluated in Annex 2 using the routines given in FigureA2.1. Because all other sets (1.13) through (1.17) are similar, it is sufficient to conduct the analysis for one set alone.

The number of the gaps for large distances approaches the number of the diads (1.24), as illustrated in the comparison of the effective number of the gaps of the sizes defined above, in the FigureA2.4. The effective rise of the number of the gaps of any size with the distance in these figures allows to formulate the following lemma:

Lemma 1.2:

The number of gaps of any size is rising without limit over the distance.

Proof: Within the sections of the size ( c ) the upper limit of the number of the gaps of any size (N) is:

π g a p _ s e c t i o n _ l i m ( N , c ) = c N

In case the number of primes within the same section—resulting from the prime-number-formula—is smaller than this number, there may be a gap of the size (N) up to this distance. The distance growing to infinity, the number of the gaps of this size will grow to infinite as well:

( c ln ( c c l i m ) > c N > c ln ( c ) ) or ( ln ( c l i m ) > N > ln ( c c l i m ) )

This condition corresponds to the condition, that the average distance between primes at (c) is greater than (N):

( c c ln ( c ) = ln ( c ) ) or ( ln ( c l i m ) > N )

For large distances, the relative difference between the effective number of primes to the value of the prime-number-formula, respectively between its best estimate value to the value of the PNF is approaching zero. The dispersion does not influence this fact. Therefore, in case the distance (c) is growing to infinity over the above limit ( N < ln ( c ) , c c l i m ), there are infinite numbers of gaps of the size (N), as stated in the lemma and concluding the proof.

The factor ( K 1 ) in Equation (1.22) has a value close to (2) for all gaps being equal to the product of two primes, as evaluated in (A2.2). If the value of the gaps has more prime dividends as two, the factor is greater, as shown in FigureA2.2.

The total number of the gaps over the distance up to (c) is evaluated in (1.22) by summing up the number of the gaps within the sections of the size ( c ). The evolution of the low limit of the numbers of the gaps within the sections—relative to their values at the largest distance considered in the analysis—is illustrated in FigureA2.4. Obviously, this numbers have a decreasing tendency only for the twins ( N = 2 ) and have rising tendency for all greater gaps. This, because the number of twins within the sections, relative to the final value is decreases with the density of the primes. The same relative number for gaps of rising sizes occurs first for sufficiently large sizes of the sections of the size ( c ) and is growing with the size of the sections. For larger gaps this second effect is dominant.

3. Conclusions

With the infinity of the best estimate of the sum of the number of diads (1.6), proved in ref. [2], the first Hardy—Littlewood conjecture is proved. The connection from the number of diads to the gaps between primes by the introduction of the density of no-primes is new in the present paper. As proved, the low limit of the number of gaps is the number of diads, therefore the number of gaps of any size is growing to infinity with the distance.

The definition and the use of the double density of occupation of the set of integer positions by the union of the straight and reflected series of multiples primes are given in ref. [1], to prove the infinity of the number of gaps of any size, between primes is new and conclusive.

Annexes

Annex 0. General Data, Vectors, and Functions

In the following annexes all above formula are checked with numeric examples. The set of primes and the listed known formula below are used for the checking. Some vectors of the results of the known formula, which are often used, are evaluated and the results are saved.

The set of primes is read from a file: ( P = READPRN ( " Primes _ large .prn " ) ). The number of primes in the set and their numbering are: ( N P = r o w s ( P ) 1 = 5003713 , n = 1 , 2 , , N P ).

For the evaluation of the number of free positions up to the distance (c) the routine ( n n e x t ( c , n l a s t ) ) resulting the index (n) of the prime next to any integer is needed ( P ( n ) c < P ( n + 1 ) ). The evaluation starts either at the last evaluated index ( n l a s t ), or at the index resulting from the prime-number-formula. This, to shorten some of the evaluation processes. Further functions are the indexes of the closest primes to any distance, and to the square root of any distance:

R e f f ( c ) = n n e x t ( c , 1 ) S e f f ( c ) = n n e x t ( c , 1 ) (A0.1)

In the following all functions, which are evaluated for illustration, are evaluated at sparse distances, equal to multiples of the square root of the largest distance

considered ( c s p ( k ) = k P ( N P ) ), resp. at the next smaller prime ( P ( n s p ( k ) ) < c s p ( k ) < P ( n s p ( k + 1 ) ) ):

Δ c s p = P ( N P ) ; k l i m = P ( N P ) Δ c s p 1 ; k = 1 , 2 , , k l i m ; c s p ( k ) = k Δ c s p ; c s p ( 0 ) = 2 (A0.2)

The vector of the indexes of the next smaller primes to these sparse distances are evaluated once and written to a file. They are read from this file:

n s p ( k ) = s e f f ( c s p ( k ) ) (A0.3)

They are evaluated once and written to files. They are read from these files:

WRITEPRN ( " index _ sparse _ primes .prn " ) = n s p ;

P = READPRN ( " index _ sparse _ primes .prn " )

Annex 1. The Approximation of Twin Primes and Their Dispersion

The components of twin primes are always adjacent to multiples of (6). Primes with gaps equal to (4) are always at the distance (2) away from multiples of (6) plus (3). These gaps between primes are always free of primes as well. The total number of all these gaps has well defined best estimate functions, with well defined lower limit functions. The infinity of the number of diads—analyzed in reference [1] —proves the infinity of twin primes, as shortly repeated in the following.

The evaluation procedure of the best estimate number of twin primes is given below.

π g a p _ a p p r _ 2 ( c ) = δ 2 c j = 1 c 1 ln ( j c ) 2 (A1.1)

The vector of the effective number of twin primes is evaluated elsewhere and the results are written to a file. They are read from this file:

π g a p _ e f f _ 2 _ s p = READPRN ( " k _ TW _ eff _ sp .prn " ) ;

k k l i m = l e n g t h ( π g a p _ e f f _ 2 _ s p ) 1 = 9277 (A1.2)

k k = 2 , , k k l i m ; k k l i m = 9277 ; c s p ( k k ) = k k Δ c s p : c s p ( 0 ) = 2

The vector of the best estimating, approximating number of the twin primes is evaluated at sparse distances with (A1.1) and the results are written to a file. They are read from this file:

π g a p _ a p p r _ 2 _ s p ( k k ) = π g a p _ a p p r _ 2 _ ( c s p ( k k ) ) (A1.3)

WRITEPRN ( " tw _ appr _ sp .prn " ) = π g a p _ a p p r _ 2 _ s p ;

π g a p _ a p p r _ 2 _ s p = READPRN ( " tw _ appr _ sp .prn " )

The difference between the effective number of twins and their approximating function is:

Δ T W s p ( k k ) = π g a p _ e f f _ 2 _ s p ( k k ) π g a p _ a p p r _ 2 _ s p ( k k ) ;

l e n g t h ( π g a p _ a p p r _ 2 _ s p ) 1 = 9277 (A1.4)

The relative dispersion around the approximating function ( T W a p p r ( c ) )—starting with ( k k s t a r t = 6000 )—are illustrated in the figures below. The start value is chosen, to avoid the larger initial deviation in case of smaller distances.

Δ T W r e l _ T W = Δ T W ( c ) T W a p p r ( c ) ; Δ T W r e l _ T W _ s p ( k k ) = Δ T W s p ( k k ) π g a p _ a p p r _ 2 _ s p ( k k ) (A1.5)

The standard deviation of the relative dispersion of the number of twin primes around its approximating function and around the approximating number of twins ( T W a p p r ( c ) ) are in the range ( k k = k k s t a r t + 1 , , k k l i m 1 ):

S D Δ T W _ r e l _ T W ( k k ) = 1 k k k k s t a r t j = k k s t a r t k k ( Δ T W r e l _ T W _ s p ( j ) ) 2 (A1.6)

The factor of proportionality for the standard deviation of the twin primes is approaching a constant value:

F S D _ Δ T W _ T W = S D Δ T W _ r e l _ T W ( k k l i m 1 ) = 0.0001702 (A1.7)

Δ S D Δ T W _ r e l _ F _ S D ( k k ) = S D Δ T W _ r e l _ T W ( k k ) F S D _ Δ T W _ T W

The standard deviation of the dispersion of the number of twins is therefore about 0.02% of the value of the approximating function (FigureA1.1).

Figure A1.1. Dispersion of the effective number of twins around its approximating function, its limiting boundaries at sparse distances and its standard deviation.

Annex 2. Analysis of the Prime Gaps of a Given Size

The effective number of gaps of the sizes ( N ( s ) , s l i m : = 14 , s : = 1 , , s l i m ) are evaluated for the first set—defined in (1.12)—on the condition, that the difference between consecutive primes is equal to ( N ( s ) = ( s 1 ) 12 + 1 ). The best estimate approximating number of the gaps of the same sizes is evaluated for the same set with (1.22) with the following formula and the programs in FigureA2.1:

Figure A2.1. Routines for the evaluation of the effective number of gaps and of its approximation.

F s e c t i o n ( k , j , s ) : = [ 1 1 ln [ j c s p ( k ) ] ] K 2 [ N ( s ) ] (A2.1)

π g a p _ a p p r ( k , s ) : = δ 2 c s p ( k ) j = 1 f l o o r [ c s p ( k ) ] [ F s e c t i o n ( k , j , s ) ln [ j c s p ( k ) ] 2 ]

The time-consuming evaluation is carried out once and the results are written to files to be read at each evaluation of the present paper:

WRITEPRN ( " total _ gap _ eff _ sp .prn " ) : = π g a p _ e f f _ s p

π g a p _ e f f _ s p : = READPRN ( " total _ gap _ eff _ sp .prn " )

WRITEPRN ( " total _ gap _ appr _ sp .prn " ) : = π g a p _ a p p r _ s p

π g a p _ a p p r _ s p : = READPRN ( " total _ gap _ appr _ sp .prn " )

The factors of multiplication ( K 1 ) adjusting the best estimate values of the approximation to the effective values of the number of the gaps (A2.1) are evaluated and written to a file. They are read from this file and illustrated in the FigureA2.2 ( K 1 : = READPRN ( " factor _ K 1. prn " ) ), ( s : = 1 , , l e n g t h ( K 1 ) 1 ).

s = 1 , , l e n g t h ( K 1 ) ; N _ ( s ) = 12 ( s 1 ) + 2

N ( s ) = N _ ( s ) ; K 1 _ a p p r ( ) s = 1.9 ; K 1 _ a p p r = 1.9 ± 0.25 (A2.2)

The best estimate number of the gaps multiplied with these above factors and the comparison with the effective number are shown below in FigureA2.3:

π g a p _ a p p r _ s p _ ( k , s ) = K 1 ( s ) π g a p _ a p p r _ s p ( k , s ) (A2.3)

The number of the gaps within the sections of the length ( c ) and their lo limits are with (A2.1):

F s e c t i o n _ ( c , j , s ) = ( 1 1 ln ( j c ) ) 5 4 ( N ( s ) 1 ) ln ( j c ) 2 > F s e c t i o n _ ( c , j , s ) = ( 1 1 ln ( c ) ) 5 4 ( N ( s ) 1 ) ln ( c ) 2 (A2.4)

The number of the gaps within the sections, relative to their value at the largest distance ( c s p ( k l i m ) ) considered in the present paper, are illustrated in FigureA2.4 for the first few sets:

F r e l ( k , s ) = F s e c t i o n _ l o w ( c s p ( k ) , s ) F s e c t i o n _ l o w ( c s p ( k l i m ) , s ) (A2.5)

Figure A2.2. The factor of multiplication of the number of gaps, over the size of the gaps.

Figure A2.3. The approximating and the effective number of the gaps of varied sizes.

Figure A2.4. The number of gaps within the sections, relative to their final value.

Conflicts of Interest

The authors declare no conflicts of interest regarding the publication of this paper.

References

[1] Doroszlai, P. and Keller, H. (2022) The Symmetric Series of Multiples of Primes. Advances in Pure Mathematics, 12, 160-177.
https://doi.org/10.4236/apm.2022.123014
[2] Doroszlai, P. and Keller, H. (2022) The Number of Primes. Advances in Pure Mathematics, 12, 81-95.
https://doi.org/10.4236/apm.2022.122008
[3] Zhang, Y.T. (2014). Bounded Gaps between Primes. Annals of Mathematics, 179, 1121-1174.
https://doi.org/10.4007/annals.2014.179.3.7
[4] Zhang, Y.T. (1019) Closing the Gap between Prime Numbers. Irish Times, Arithmetic, Number Theory.
[5] Green, B. (2014) Bounded Gaps between Primes. arXiv:1402.4849.
[6] Vega, F. (2022) The Smallest Gap between Primes.
https://www.academia.edu/90709256/

Copyright © 2024 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.