Preprint
Article

This version is not peer-reviewed.

Prime Pair Products Based on Prime Gaps

Submitted:

28 December 2024

Posted:

31 December 2024

You are already at the latest version

Abstract
This paper investigates the arithmetic structure of prime pair products by analyzing the gaps between primes. Focusing on pairs, we explore patterns in the distribution of their products. We establish that prime pairs with gaps a power of 6 yield products in the form 6n+1, while those without power of 6 gaps result in products of the form 6n+5, except where 2 and 3 are found, offering a foundational understanding of their algebraic properties.
Keywords: 
;  ;  ;  ;  

1. Introduction

Prime numbers have long been a central topic in number theory, offering deep insights into the structure of mathematics [1]. A particularly intriguing area of study involves prime pairs, where two prime numbers are closely related by a small difference, such as twin primes (with a gap of 2) or cousin primes (with a gap of 4). While these pairs have been explored extensively in terms of their distribution, less attention has been given to the products of prime pairs and how the gap between the primes may influence their behavior.
This paper seeks to investigate prime pair products by focusing on the differences (or gaps) between the primes in each pair. Specifically, we explore whether certain patterns or properties emerge when analyzing prime products based on these gaps. By examining the multiplication of prime pairs, we aim to uncover potential connections between the arithmetic structure of prime numbers and the distribution of their products.
Through this exploration, a deeper understanding of prime pairs and their unique characteristics is hoped to be contributed, with implications for both theoretical research and practical applications in cryptography, computational number theory, and beyond.

2. Methods

Prime Pair Classification: Each pair of prime numbers is divided into two categories: those whose difference is a multiple of 6 and those whose difference is not a multiple of 6. The reason for choosing this categorization can be shown in relation to the results obtained in the study titled "Dynamics and Forms of Products of Twin, Cousin and Sexy Primes".
According to Gocgen and Buyukyayla in the related study [2]:
Twin and cousin prime pairs without 2 and 3 can be expressed as 6 β + 5 , while sexy prime pairs can be expressed as 6 β + 1 .
Based on this study and this result in particular (since there are 6 differences between the sexy primes), this way of categorization was used.
Analytical Approach to Prime Pair Products: The goal of the analysis was to observe how the gaps between primes impact the properties of their products. The following steps outline the approach used to explore these relationships.
Product Computation: For each identified prime pair ( p 1 , p 2 ) , the product P = p 1 × p 2 was computed. The resulting values were analyzed to detect patterns in their magnitude and behavior based on the gap size between the primes. Special focus was placed on pairs fitting specific forms, such as 6 n + 5 and 6 n + 7 .
Modular Behavior Exploration: The products of prime pairs were studied under modular arithmetic. Products were reduced modulo k to investigate their residue classes and potential regularities. For example, products were examined for behavior like P r ( mod 6 ) , where residue patterns may correlate with specific prime gaps.
NOTATIONS
Z + the set of all positive integers
N the set of all natural numbers
N + the set of all positive natural numbers
C the set of all composite numbers
P the set of all prime numbers
O the set of all odd numbers
E the set of all even numbers
gcd ( a , b ) max { d Z + : d a and d b }

3. Theorems and Proofs

At the outset of the study, it will be beneficial to provide several definitions and elaborations:
Definition 1. Prime numbers are defined as follows [3,4]:
n Z + , 1 < n < p , gcd ( p , n ) = 1
Definition 2. Composite numbers are defined as follows [3,5]:
n Z + , 1 < n < c , gcd ( c , n ) 1
Basis 1. Every positive integer except 1 is classified as either a prime number or a composite number [6].
Basis 2. Every composite number can be uniquely expressed as the product of more than one prime number [6,7].
Conjecture.  ( p , q ) being the prime pair; if the difference between p and q is a multiple of 6, the product of p and q must be in the form 6 n + 1 . If the difference between p and q is not a multiple of 6, the product of p and q must be in the form 6 n + 5 , where p and q is not equal 2 or 3.
Lemma 1. A number is either multiply of 6 or not multiply of 6.
Proof.
P ( n ) : The number is multiply of 6.
¬ P ( n ) : The number is not multiply of 6.
In logic, every proposition is either true or false (the principle of non-contradiction in classical logic). Therefore, the propositions P ( n ) and ¬ P ( n ) cannot be true at the same time. We have the expression:
P ( n ) ¬ P ( n ) : The number is either multiply of 6 or not multiply of 6.
Preprints 144431 i001
This statement is a tautology in logic, that is, a proposition that is always true.
Lemma 2. A set of numbers can be separated into a proposition and its negation, with all the elements of the set being partitioned.
Proof. Let A be a set of numbers. Let P ( x ) be a proposition.
A P = { x A : P ( x ) is true }
A ¬ P = { x A : P ( x ) is false }
Based on the principle of non-contradiction in basic logic:
A P A ¬ P = A   and   A P A ¬ P =
.
According to the first statement, all elements are partitioned into disjoint subsets. Based on the second statement, it follows that each element satisfies exactly one proposition. Thus, the proof is concluded.
Corollary 1. Let A be the set of prime products and let P be the proposition: "the difference between primes is multiple of 6". In this case, all prime products can be separated by the difference between the prime numbers by which they are multiplied. To such an extend, with this separation, all elements will be separated and no element will satisfy both conditions.
Lemma 3.  n p + p gives all composite numbers where n is a positive natural numbers and p is a prime number [8].
Proof.  n p + p = p ( n + 1 ) . Then, according to fundamental theorem of arithmetic and Basis 1:
( n + 1 C ) ( n + 1 P )
Let n + 1 C :
n + 1 = p m × × p m + k
Then,
p ( n + 1 ) = p × ( p m × × p m + k )
Let n + 1 P :
n + 1 = p m
Then,
p ( n + 1 ) = p × p m
p ( n + 1 ) = p × ( p m × × p m + k ) p ( n + 1 ) = p × p m
Thus, this expression gives all composite numbers by Basis 2.
Lemma 4.  2 n p + p gives all odd composite numbers where n is a positive natural numbers and p is an odd prime numbers.
Proof.  n p + p gives all composite numbers where p is an prime number and n is a positive natural number by Lemma 3. Only the possibility for an odd composite just specified: n p + p gives all odd composite numbers where p is an odd number and n is a even number. This equals to: 2 n p + p gives all odd composite numbers where n is a positive natural number and p is an odd prime number.
Theorem 1. All odd prime numbers except 3 must be of the form 6 n + 5 or 6 n + 7 , as a result of formula 2 n p + p  [9].
p P { 3 } O n N , p = 6 n + 5 or p = 6 n + 7
Proof.
2 n p + p , p = 3 6 n + 3
n N + , 3 ( 2 n + 1 ) = 6 n + 3 .
6 n + 3 < x < 6 ( n + 1 ) + 3 x { 6 n + 4 , 6 n + 5 , 6 n + 6 , 6 n + 7 , 6 n + 8 } ( n N + n N )
6 n + 4 0 ( mod 2 )
6 n + 5 1 ( mod 2 )
6 n + 6 0 ( mod 2 )
6 n + 7 1 ( mod 2 )
6 n + 8 0 ( mod 2 )
x { 6 n + 4 , 6 n + 6 , 6 n + 8 } 2 x x P { 3 } O
x { 6 n + 5 , 6 n + 7 } x mod 2 = 1 x 3 k
p P { 3 } O n N , p = 6 n + 5 or p = 6 n + 7
Corollary 4. It is possible to examine the prime multiplications, excluding those involving 2 and 3, forms of 6 n + 5 and 6 n + 7 by Theorem 1.
Lemma 5. The result of subtracting two odd numbers is always even.
Proof.
p = 2 n + 1 where n N and p P { 3 } O
p i p j = ( 2 n i + 1 ) ( 2 n j + 1 ) = 2 n i + 1 2 j i 1 = 2 ( n i n j )
where p i = 2 n i + 1 , p j = 2 n j + 1 and i > j when i , j N
Theorem 2. The structure mentioned in Corollary 1 is mathematically separated by 6 k and 6 k + 2 , 6 k + 4 .
x N E , x = 6 k ( 6 k + 2 6 k + 4 ) , k N
Proof. According to the principle of non-contradiction and as shown in Lemma 1:
Let n N be such that n = 6 k n 6 k
n = 6 k 6 n
n 6 k 6 k < x < 6 ( k + 1 )
Therefore:
6 k + 1 1 ( mod 2 )
6 k + 2 0 ( mod 2 )
6 k + 3 1 ( mod 2 )
6 k + 4 0 ( mod 2 )
6 k + 5 1 ( mod 2 )
According to Lemma 5:
If n 2 ( mod 6 ) , n = 6 k + 2 .
If n 4 ( mod 6 ) , n = 6 k + 4 .
x N E , x = 6 k ( 6 k + 2 6 k + 4 ) , k N
Corollary 5. The structures to be examined are as follows:
Let p , q P { 3 } O be such that | p q | = 6 k :
( p , q ) = ( 6 n + 5 , 6 n + 5 + 6 k ) ( 6 n + 7 , 6 n + 7 + 6 k )
Let | p q | = 6 k + 2 6 k + 4 :
( p , q ) = ( 6 n + 5 , 6 n + 5 + 6 k + 2 ) ( 6 n + 7 , 6 n + 7 + 6 k + 2 )
( 6 n + 5 , 6 n + 5 + 6 k + 4 ) ( 6 n + 7 , 6 n + 7 + 6 k + 4 )
The relevant arrangements are made in these groups, and the groups are then written as follows:
Let | p q | = 6 k :
( p , q ) = ( 6 n + 5 , 6 n + 6 k + 5 ) ( 6 n + 7 , 6 n + 6 k + 7 )
Let | p q | = 6 k + 2 6 k + 4 :
( p , q ) = ( 6 n + 5 , 6 n + 6 k + 7 ) ( 6 n + 7 , 6 n + 6 k + 9 )
( 6 n + 5 , 6 n + 6 k + 9 ) ( 6 n + 7 , 6 n + 6 k + 11 )
Theorem 3. Some expressions in the group lack meaning and can be removed from the group.
Proof.  6 n + 6 k + 9 is absolutely divisible by 3, so it is not possible for this expression to represent a prime number. Therefore, pairs containing this expression are devoid of meaning and can be removed from the group. As a result, if the groups are rewritten with the remaining expressions:
Let n N be such that | p q | = 6 k :
( p , q ) = ( 6 n + 5 , 6 n + 6 k + 5 ) ( 6 n + 7 , 6 n + 6 k + 7 )
Let | p q | = 6 k + 2 6 k + 4 :
( p , q ) = ( 6 n + 5 , 6 n + 6 k + 7 ) ( 6 n + 7 , 6 n + 6 k + 11 )
expressions emerge.
Corollary 6. Then, for the prime pair ( p , q ) ; p and q are not equal, 2, 3; if the difference between p and q is not equal to multiply of 6 and has the form p = 6 n + 5 , the form of the difference between p and q must be 6 n + 2 . If it is in the form p = 6 n + 7 , the form of the difference between p and q must be 6 n + 4 . Such that p , q P { 3 } O :
If p = 6 n + 5 and | p q | 6 k | p q | = 6 k + 2
If p = 6 n + 7 and | p q | 6 k | p q | = 6 k + 4
Corollary 7. When the relevant multiplication operations are performed on these groups, it becomes possible for the groups to be written as follows:
Let n N be such that | p q | = 6 k :
( p × q ) = ( 36 n 2 + 36 n k + 60 n + 30 k + 25 ) ( 36 n 2 + 36 n k + 84 n + 42 k + 49 )
Let | p q | = 6 k + 2 :
( p × q ) = ( 36 n 2 + 36 n k + 72 n + 30 k + 35 )
Let | p q | = 6 k + 4 :
( p × q ) = ( 36 n 2 + 36 n k + 108 n + 42 k + 77 )
Theorem 4. Both of these groups have characteristic features according to mod 6.
Proof.
Let n N be such that | p q | = 6 k :
36 n 2 + 36 n k + 60 n + 30 k + 25 1 ( mod 6 )
36 n 2 + 36 n k + 84 n + 42 k + 49 1 ( mod 6 )
Let | p q | = 6 k + 2 :
36 n 2 + 36 n k + 72 n + 30 k + 35 5 ( mod 6 )
Let | p q | = 6 k + 4 :
36 n 2 + 36 n k + 108 n + 42 k + 77 5 ( mod 6 )
Corollary 8. The remainder of multiplying two primes with a difference of multiple of 6 and dividing by 6 is 1; the remainder of multiplying two primes without a difference of multiple of 6 and dividing by 6 is 5 where two prime is not equal to 2 or 3.
Corollary 9.
Let n N be such that | p q | = 6 k :
First option:
36 n 2 + 36 n k + 60 n + 30 k + 25 = 6 ( 6 n 2 + 6 n k + 10 n + 5 k + 4 ) + 1
β = 6 n 2 + 6 n k + 10 n + 5 k + 4
36 n 2 + 36 n k + 60 n + 30 k + 25 = 6 β + 1
Second option:
36 n 2 + 36 n k + 84 n + 42 k + 49 = 6 ( 6 n 2 + 6 n k + 14 n + 7 k + 8 ) + 1
β = 6 n 2 + 6 n k + 14 n + 7 k + 8
36 n 2 + 36 n k + 84 n + 42 k + 49 = 6 β + 1
Let | p q | = 6 k + 2 :
36 n 2 + 36 n k + 72 n + 30 k + 35 = 6 ( 6 n 2 + 6 n k + 12 n + 5 k + 5 ) + 5
β = 6 n 2 + 6 n k + 12 n + 5 k + 5
36 n 2 + 36 n k + 72 n + 30 k + 35 = 6 β + 5
Let | p q | = 6 k + 4 :
36 n 2 + 36 n k + 108 n + 42 k + 77 = 6 ( 6 n 2 + 6 n k + 18 n + 7 k + 12 ) + 5
β = 6 n 2 + 6 n k + 18 n + 7 k + 12
36 n 2 + 36 n k + 108 n + 42 k + 77 = 6 β + 5
The result obtained from here is generalized, which can be achieved in Corollaries 5, 6, 7 and Theorem 3, 4, and the following is obtained; let p , q P { 3 } O :
| p q | = 6 k ( p × q ) = 6 β + 1
| p q | 6 k ( p × q ) = 6 β + 5
This result obtained as a result of all theorems and corollaries proves conjecture.
Q.E.D.

4. Results

A detailed examination has been provided in this study of the primes other than 2 and 3 that can be expressed as 6 n + 5 or 6 n + 7 , and their relationship to the prime pairs. Certain forms have been obtained for prime pairs with a difference of a multiple of 6, and for prime pairs without a difference that is a multiple of 6, establishing a foundational understanding of their algebraic structure. Using these forms, it has been proved that the products of prime pairs with a difference of a multiple of 6 must be of the form 6 n + 1 , and that the products of prime pairs without a difference of a multiple of 6 must be of the form 6 n + 5 . These insights contribute to the broader understanding of prime numbers and offer potential applications in areas such as cryptography, where the properties of prime numbers are essential.

5. Discussion

1. Summary of Key Findings
The study has provided significant insights into the dynamics and forms of products of prime pairs. By systematically analyzing these products, several key observations have been made:
Distribution Characteristics: The products of the prime pairs exhibit different distributional properties. Unlike the primes themselves, which are known to become sparser as numbers increase, the products of prime pairs show unique clustering and gap patterns. The statistical analysis revealed non-uniformity in their distribution, hinting at underlying structural rules governing their occurrence.
Modular Behavior: The exploration of products in various modular systems uncovered fascinating patterns in the residue classes. Certain residue classes are occupied more frequently, suggesting that the products of prime pairs have a predisposition toward specific modular outcomes. This behavior is nontrivial and may reflect deeper arithmetic properties inherent to these primes.
2. Comparison with Existing Literature
The findings of this study build upon and extend existing knowledge on prime numbers, particularly in the context of primes and their products.
Distribution of Primes: Previous studies have extensively examined the distribution of primes and prime pairs (e.g., twin primes, cousin primes...). The results of this study add a new dimension by focusing on the products of prime pairs. Although the distribution of individual primes has been shown to follow known theorems and conjectures, the observed clustering and gap patterns in prime products suggest novel behaviors that merit further exploration.
Modular Arithmetic in Prime Studies: The modular behavior of primes has been a topic of interest in number theory, with studies exploring primes in arithmetic progressions and other modular systems. The results obtained in this paper are specifically in agreement with the modular properties obtained for twin, cousin, and sexy primes [2,10]. The discovery of preferred residue classes for prime products aligns with, but also challenges, some of these established results. The unexpected regularities observed here could lead to new conjectures about the distribution of prime products in modular systems.
3. Theoretical Implications
The results obtained in this study have several theoretical implications for number theory and related fields:
Prime Product Conjectures: The non-random distribution patterns and modular regularities observed in prime products could inform new conjectures in number theory. For instance, the tendency of these products to occupy specific residue classes suggests that there may be deeper, yet undiscovered, rules governing prime product behavior.
Structure of Prime Networks: The graph theoretical insights suggest that primes and their products form structured networks rather than random graphs. This could have implications for understanding the connectivity of primes, potentially leading to new insights into prime gaps, distribution, and the underlying algebraic structures.
Potential Links to Cryptography: The modular properties of prime products might have applications in cryptography, where prime number-based algorithms are foundational. The discovery of non-trivial residue class occupation could lead to the development of new cryptographic methods or the strengthening of existing ones.
4. Future Research Directions
The findings of this study open up several avenues for future research:
Distribution of Primes: The methodologies used in this study for the detection of numbers that are simply the product of two primes can be developed to include all odd composite numbers or all composite numbers. This development could open the door to a deeper understanding of composite numbers and more information about the order of prime numbers.
Twin Prime Conjecture: With the results obtained in this study, a certain form that twin primes must comply with can be determined, and thanks to this form, twin prime conjecture can be expressed with a new definition. This new definition may lead us to gain other insights by using the modular properties obtained.
Extended Modular Analysis: Future studies could extend the modular analysis to include a wider range of moduli, particularly those that have been less explored in number theory. This could involve exploring the behavior of prime products in non-integer moduli or in more complex modular systems.
Cryptographic Applications: Given the modular regularities observed, further research could explore the potential cryptographic applications (especially RSA [11]) of prime products. This could involve developing new algorithms based on the properties of these products or enhancing existing prime-based cryptographic systems [12].

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Acknowledgments

We would like to express our sincere gratitude to Bill McEachen and Mehmet Aslan for their invaluable support in reviewing the general structure of this paper, including its mathematical formulation and grammatical aspects. Their insightful feedback and guidance were instrumental in enhancing the clarity and quality of this work.

References

  1. Goldstein, L.J. A history of the prime number theorem. The American Mathematical Monthly 2019, 80, 599–615. [Google Scholar] [CrossRef]
  2. Gocgen, A.F.; Buyukyayla, E.M. Dynamics and Forms of Products of Twin, Cousin and Sexy Primes. Preprints 2024. [Google Scholar]
  3. Ingham, A.E. The distribution of prime numbers; Number 30, Cambridge University Press, 1990.
  4. Selberg, A. An elementary proof of the prime-number theorem. Annals of Mathematics 1949, pp. 305–313.
  5. Novikas, A. Composite numbers in the sequences of integers 2012.
  6. Euclid.; Heath, T.L. The Thirteen Books of the Elements, Vol. 2: Books 3-9; Dover Publications, 1956.
  7. Ağargün, A.G.; Özkan, E.M. A historical survey of the fundamental theorem of arithmetic. Historia Mathematica 2001, 28, 207–214. [Google Scholar] [CrossRef]
  8. Aysun, E.; Gocgen, A.F. A Fundamental Study of Composite Numbers as a Different Perspective on Problems Related to Prime Numbers. International Journal of Pure and Applied Mathematics Research 2023, 3, 70–76. [Google Scholar] [CrossRef]
  9. Gocgen, A.F. Gocgen Approach for Bounded Gaps Between Odd Composite Numbers. Preprints 2024. [Google Scholar]
  10. Nelsen, R. Proof Without Words: Cousin Prime Products Modulo 72. The College Mathematics Journal 2024, 55, 245–245. [Google Scholar] [CrossRef]
  11. Childs, L.N. RSA cryptography and prime numbers. Cryptology and Error Correction: An Algebraic Introduction and Real-World Applications 2019, pp. 135–151.
  12. Riesel, H. Prime Numbers and Cryptography. Prime Numbers and Computer Methods for Factorization 1994, pp. 226–238.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.
Prerpints.org logo

Preprints.org is a free preprint server supported by MDPI in Basel, Switzerland.

Subscribe

Disclaimer

Terms of Use

Privacy Policy

Privacy Settings

© 2026 MDPI (Basel, Switzerland) unless otherwise stated