A Novel Framework for Analyzing Prime Distribution and Weak Fermat’s Conjecture.

read paper. I couldn’t include the images and certain features in the LaTeX and the PDF is a slightly more elaborate version to better understand the concepts.

The paper in English can be found here: Download paper (English).

El paper en español se puede encontrar aquí: Descargar paper (español).

The URL for the English paper is: https://drive.google.com/file/d/1vRtEOQpaylt4bJJL4RNDp1DXxoE0S68S/view?usp=drive_link.

author: Gilberto Augusto Carcamo Ortega.

Analysis of the Distribution of Prime Numbers on the Roulette Wheel

Results

Let’s analyze the distribution of prime numbers within the real numbers: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ..., n-1, n, n+1.

Distribution of Prime Numbers
1 2 3 4 5 6 7 8 9 10
11 12 13 14 15 16 17 18 19 20
21 22 23 24 25 26 27 28 29 30
31 32 33 34 35 36 37 38 39 40
41 42 43 44 45 46 47 48 49 50
51 52 53 54 55 56 57 58 59 60
61 62 63 64 65 66 67 68 69 70
71 72 73 74 75 76 77 78 79 80
81 82 83 84 85 86 87 88 89 90
91 92 93 94 95 96 97 98 99 100

If we take a series of natural numbers, prime numbers appear in positions that coincide with the specific number being examined. For example, the first prime number appears in the 2nd position of the series of natural numbers, the second prime number in the 3rd position, and the n-th prime in the n-th position of the series of natural numbers. This is the simplest series to analyze (assuming it starts at ):

If we analyze the differences between the terms, we do not find any visible pattern or a simple way to generate them. Therefore, at first, no periodicity is observed.
Now, let’s distribute the first prime numbers into three columns, as in the canonical triplets. Mathematically, this is equivalent to three sets that do not contain each other, or three disjoint series:

Distribution of canonical triplets
columna 1 Columna 2 columna 3
3n+1 3n+2 3n+3
1 2 3
4 5 6
7 8 9
10 11 12
13 14 15
16 17 18
19 20 21
22 23 24
25 26 27
28 29 30
31 32 33
34 35 36

Beyond the first row, all rows have at most a single prime number. The pattern seems to be alternating, although it breaks in certain rows.
Rule number 1
Now we will define a rule that arises from the analysis of a simple strategy for playing roulette: betting on the number opposite to the last number played. If we follow this rule, we will realize that the opposite of an odd number is an even number one unit larger, and that every even number is opposite to an odd number one unit smaller.
“Every prime number in a row must always be accompanied by an even number to its right.”
Rule number 2
“The third column only contains one prime number, and that prime number is 3, which occurs when n=0.”
Now let’s group the numbers in Odd-Even pairs

Distribution of canonical triplets
columna 1 Columna 2 columna 3
3n+1 3n+2 3n+3
1 2 3
4 5 6
7 8 9
10 11 12
13 14 15
16 17 18
19 20 21
22 23 24
25 26 27
28 29 30
31 32 33
34 35 36

Now, on this new arrangement, let’s mark the prime numbers in red.

Distribution of canonical triplets
columna 1 Columna 2 columna 3
3n+1 3n+2 3n+3
1 2 3
4 5 6
7 8 9
10 11 12
13 14 15
16 17 18
19 20 21
22 23 24
25 26 27
28 29 30
31 32 33
34 35 36

From this new arrangement, the following conclusions can be drawn:

  • Each row can only contain a single prime number.

  • The gaps of prime numbers are zones where the triplets are formed by composite numbers.

  • The number of prime numbers in any set of numbers will be less than 1/3 of the total number of elements that make up the set. Let be the logarithmic integral (the prime-counting function), if we evaluate the integral for example up to we will realize that the percentage of prime numbers is never greater than 1/3.

Approximate values of and
(approximate) (approximate)
10 5.1 0.51
20 7.2 0.36
30 9.4 0.31
40 11.5 0.29
50 13.8 0.28
60 16.1 0.27
70 18.5 0.26
80 20.8 0.26
90 23.2 0.26
100 25.6 0.26

When the numbers are grouped into three columns, a set of canonical progressions or single-variable equations emerge (there may be better definitions, but the simplest are these three):

  • Column 1:

  • Column 2:

  • Column 3:

Later, we will use these three equations as functions of , , and .

Theorem of the Triplets.

“The ordered set of natural numbers can be considered an ordered set of points in the form , where , , and take on real and integer values.”

Analysis of Triplets.

When reorganizing numbers into triplets, it is evident that a gap is created when triplets of composite numbers appear. This, in itself, is not very helpful, but if we reflect on it, we can notice that between two triplets of composite numbers, or between groups of triplets of composite numbers, there must be at least one prime number. Thus, locating these triplets is of vital importance to determine where a prime number is or will be located, or failing that, where not to look.
The simplest triplet to analyze is the odd-even one, where the odd number ends in 5 and the even number ends in 6 (a multiple of two). However, due to the organization of the columns, finding where the numbers ending in 5 appear is sufficient.
Let’s analyze the distribution of triplets to determine patterns:

In the first column, every number divided by has a remainder of 1; in the second, every number divided by has a remainder of 2; and in the third, every number divided by has a remainder of 0.
Each row alternates a quite distinct and obvious pattern (odd and even), and based on this pattern, we can analyze the distribution of triplets.
For a row to be a gap of prime numbers, its three elements must be composite numbers or, failing that, they could all be even numbers. However, according to the distribution of canonical triplets, there can only be two even numbers per row.
We must also consider that all elements in the third column are multiples of three, so any number in that column will be composite.
Therefore, we only need to focus on analyzing columns 1 and 2. Now let’s observe the following distribution of canonical triplets.

1 mod(3) 2 mod(3) 0 mod(3)

In the first column, every number divided by has a remainder of 1; in the second, every number divided by has a remainder of 2; and in the third, every number divided by has a remainder of 0.
Each row alternates a quite distinct and obvious pattern (odd and even), and based on this pattern, we can analyze the distribution of triplets.
For a row to be a gap of prime numbers, its three elements must be composite numbers or, failing that, they could all be even numbers. However, according to the distribution of canonical triplets, there can only be two even numbers per row.
We must also consider that all elements in the third column are multiples of three, so any number in that column will be composite.
Therefore, we only need to focus on analyzing columns 1 and 2. Now let’s observe the following distribution of canonical triplets.

Left Table Center Table Index
1-7 1 2 3 1 2 3 0
4 5 6 4 5 6 1
7 8 9 7 8 9 0
10 11 12 10 11 12 3
13 14 15 13 14 15 4
16 17 18 16 17 18 5
19 20 21 19 20 21 6
22 23 24 22 23 24 7
25 26 27 25 26 27 8
28 29 30 28 29 30 9
31 32 33 31 32 33 10
34 35 36 34 35 36 11
37 38 39 37 38 39 12
40 41 42 40 41 42 13
43 44 45 43 44 45 14
46 47 48 46 47 48 15
49 50 51 49 50 51 16
52 53 54 52 53 54 17
55 56 57 55 56 57 18
58 59 60 58 59 60 19
61 62 63 61 62 63 20
64 65 66 64 65 66 21
67 68 69 67 68 69 22
70 71 72 70 71 72 23
73 74 75 73 74 75 24
76 77 78 76 77 78 25
79 80 81 79 80 81 26
82 83 84 82 83 84 27
85 86 87 85 86 87 28
88 89 90 88 89 90 29
91 92 93 91 92 93 30
94 95 96 94 95 96 31
97 98 99 97 98 99 32
100 101 102 100 101 102 33
103 104 105 103 104 105 34
106 107 108 106 107 108 35
109 110 111 109 110 111 36
112 113 114 112 113 114 37
115 116 117 115 116 117 38
118 119 120 118 119 120 39
121 122 123 121 122 123 40
124 125 126 124 125 126 41
127 128 129 127 128 129 42
130 131 132 130 131 132 43
133 134 135 133 134 135 44
136 137 138 136 137 138 45
139 140 141 139 140 141 46
142 143 144 142 143 144 47

By analyzing the pattern where the pair of numbers ending in 5 and 6 appears, it’s possible to demonstrate that the progression of numbers 8,11,18,21,28,31,41,... is given by two series.
For numbers of the form , the elements where ends in 5 only occur when , where is an integer.
For numbers of the form , a number ending in 5 will occur when .
Therefore, the progression of numbers 8,11,18,21,28,31,41,... is given by the following relationship: ,
For the same value of , two pairs of values are obtained.

K
0 8 1 25 5
1 18 11 55 34
2 28 21 85 64
3 38 31 115 94
4 48 41 145 124
5 58 51 175 154
6 68 61 205 184
7 78 71 235 214
8 88 81 265 244
9 98 91 295 274
10 108 101 325 304

Other triplets or gaps exist that present other patterns, such as:

  • , numbers ending in 9 and 0

  • , numbers ending in 7 and 8

  • , numbers ending in 1 and 2

  • , numbers ending in 3 and 4

Conjecture:

"A simple and straightforward series must exist that defines the indices where prime numbers are found. However, the series that indicates the distribution of prime numbers must be given by more than two parametric equations that define their indices."

Definition of the product of two real numbers: Product of two real numbers / Product of two prime numbers

Given the canonical equations:

  • Column 1:

  • Column 2:

  • Column 3:

We can conclude that the product of two integers is the result of multiplying two of these three canonical equations.
A number squared (a minimum condition, although there is a more complete condition that involves the multiplication of the prime factors of two natural numbers) is a number such that:

  • ,

  • ,

If we take the product of two prime numbers and such that and both are different from 3, we obtain the following hyperbola (when the two numbers to be multiplied have the same canonical form, a parabola is obtained): where is the product of p and q.
More generally: "The product of all prime numbers p and q defines all the level curves of the function:"

  • Every equation of the form has a unique positive integer solution.

  • All points on the curve are constant and equal to the product of p and q.

Weak Proof of Fermat’s Theorem.

**Conic sections** are curves that are studied in basic geometry courses at the beginning of high school. It is fascinating how a circle could define one of the most important mathematical problems in the world, when **Fermat** wondered if Pythagorean triplets could be obtained for exponents greater than 2.
I consider this a demonstration, perhaps not a formal one, but it could have been the path Fermat took to outline his famous theorem, which was impossible to write in the margin of a sheet.
I believe that Fermat had to intuit, or even find a way, that for the equation to have a solution in higher degrees, it had to belong to a family of equations resulting from the intersection of a surface by a plane.
Given the inability to find such closely related families of curves in higher degrees, the only logical conclusion is the impossibility of solving the problem for degrees greater than two. This is a **very difficult conjecture to prove**.
In my case, the distribution of my arithmetic progressions and the products of their terms as functions only generate **parabolas** and **hyperbolas**. Another set of relations and distributions would be required to generate **circles** and **ellipses** in order to address more complete solutions, since my canonical triplet distribution currently only generates two types of conics.

Arithmetic Progressions and Prime Numbers

Consider the simple arithmetic progression , where n takes non-negative integer values ( ). This progression generates all natural numbers.
If we define , then is a second-degree polynomial in n.
To analyze the distribution of prime numbers, we define three disjoint arithmetic progressions:

More generally, we can use independent variables:

Consider the product of two terms of these progressions, for example, . This product generates a quadratic curve. Specifically, if we choose terms from two different progressions (for example, and ), represents a hyperbola. If we choose two terms from the same progression, we get a parabola.
Example: . We choose this product because the only prime number in occurs when n=0.

Conditions for Square Numbers

For , where c is a natural number, the following conditions must be met:

  • must be a perfect square ( ).

  • must be a perfect square ( ).

If , where and are natural numbers, then the prime factors of and must have even exponents in their prime decomposition. That is:

Where is an even number for every index and .
If these conditions are met, then . More generally, the equation has positive integer solutions. In the quadratic case, all conics are classified under projective transformations.
Conic sections are generated by the intersection of a plane with a cone (Figure ). If the plane is parallel to the axis of revolution (the y-axis), the conic section is a hyperbola. If the plane is parallel to the generatrix, the conic section is a parabola. If the plane is perpendicular to the axis of revolution, the conic section is a circle. If the plane intersects one sheet at an angle with the axis (other than 90°), then the conic section is an ellipse.

Generalization to Higher Exponents

To obtain natural numbers of the form , we use the trivial arithmetic progression . So, , which is a polynomial of degree n:

For degrees higher than 2, the intersection curves do not belong to a single family like the conics. They can have different genera, singularities, and irreducible components. Therefore, there is no general way to reduce to , which suggests that there are no positive integer solutions for since has positive integer solutions and from I cannot reduce to .
The results obtained in section 1.5 suggest that every number that is the product of two prime numbers can be represented by two equations, hyperbolas and parabolas, both conic sections, which makes it probable that all curves of the family have real and integer solutions. Furthermore, the distribution of canonical triplets establishes that will always have real solutions as long as is the product of two integers, and as we have seen in section 2.1, every number has a prime power decomposition.

Weak Proof. Proof based on the distribution of canonical triplets.

the equation only makes sense for the family of conic curves for since the relations given in the canonical triplet distribution only allow for prime numbers of the form and which generates conic equations. The canonical form or only has one prime number and it occurs when .
Multiplying by the canonical form is the equivalent of multiplying by any number given by and , since contains all natural numbers and therefore contains and , so only the possible combinations of these two products and can generate an integer product of prime numbers.

Distribution of canonical triplets. Canonical form.
columna 1 Columna 2 columna 3
3x+1 3y+2 3z+3
1 2 3
4 5 6
7 8 9
10 11 12
13 14 15
16 17 18
19 20 21
22 23 24
25 26 27
28 29 30
31 32 33
34 35 36

Fermat’s Weak Conjecture.

The equation only has a solution for given the impossibility
of forming a product of three terms without one of the three terms being a
multiple of the other two. The equation only makes sense if the
curves it generates are conic sections. The same happens in higher degrees
since we would have to multiply by elements of the same canonical form
n times.

An Approximation for Finding Prime Numbers Based on the Distribution of Canonical Triplets

For the development of this method, we will use the distribution of canonical triplets and the equation .

What happens at and ? Approximation by Solving a Quadratic

By considering the value of in the equation , we get the following result:

Similarly, by evaluating the equation at the point , we get the following result:

If we substitute equation into equation , we get the following approximation:

Let’s take the equation as an example, where is the product of the prime numbers and . For this particular case, we can find the values of and by solving the following equation which is obtained by using in :

To solve the quadratic equation , we first rewrite it in the standard form : We identify the coefficients: , , and . We apply the quadratic formula, : We can simplify the square root : Substituting this back into the equation for : Finally, we divide each term by 6 to simplify: Thus, the solutions for are: These are the solutions for in terms of . For the solutions to be real, the term under the square root must be non-negative, i.e., , which implies .
Due to the nature of the problem we are analyzing, we will only consider the values of x given by

And by resorting to equation , we conclude the value of y:

We substitute the value of into both equations. First, we calculate :

Therefore:

Therefore:

The approximate values for and for are and .
Knowing that , we will now proceed to solve the equations

For :

For :

Distribution of canonical triplets. Canonical form.
Column 1 Column 2 Column 3
3x+1 3y+2 3z+3
1 2 3
4 5 6
7 8 9
10 11 12
13 14 15
16 17 18
19 20 21
22 23 24
25 26 27
28 29 30
31 32 33
34 35 36

Fermat’s Weak Conjecture.

The equation only has a solution for given the impossibility
of forming a product of three terms without one of the three terms being a
multiple of the other two. The equation only makes sense if the
curves it generates are conic sections. The same happens in higher degrees
since we would have to multiply by elements of the same canonical form
n times.

An Approximation for Finding Prime Numbers Based on the Distribution of Canonical Triplets

For the development of this method, we will use the distribution of canonical triplets and the equation .

What happens at and ? Approximation by Solving a Quadratic

By considering the value of in the equation we get the following result:

Similarly, by evaluating the equation at the point we get the following result:

If we replace equation , in equation we obtain the following approximation:

Approximation at Infinity.

Let’s consider the canonical forms:

If we take limits in the following way:

From this result at infinity we might be tempted to use the following equation , solving this equation we obtain the following approximation:

This choice is logical since the factorization of prime numbers is fundamental in cryptography, especially in algorithms like RSA. The security of these algorithms is based on the difficulty of factoring large numbers that are the product of two prime numbers.
This choice is made under the assumption that our prime numbers are extremely large. Now that we have this equation we can obtain a better search range by using equation together with equation in the following way:

We will assume that in equation is equal to ( ). From that approximation we obtain the point

To find the next point we will say that in equation is equal to ( ). From that approximation we obtain the point

Given that both points must be considered as search ranges we would be left with a range that includes the smallest and the largest number, so for practical purposes we define the following range.

K-indices and the sums to 1 and sums to 2 of the column

Days ago I was analyzing the ways in which a number can be prime. We already know that a prime number can take the following forms and . That also implies that these numbers are by definition odd.
From that idea my question arose (which is obvious): how should a number end to be odd? The answer is simple: every odd number must end in 1, 3, 5, 7, or 9.

For this I define the sum to 1 of the k-indices as follows

The reduction to a single digit is the process of repeatedly summing the digits of a number until a single digit (from 1 to 10) is obtained.

Sum to 2 of 3x+1 and 3x+3

The reduction to two digits involves repeatedly summing the digits of a number until the result is a two-digit number (between 10 and 30, inclusive), or a single digit if the sum never reaches two digits.
As an additional gift every number of the form where and such that will always end in 5 and will be composite by definition, except for the number 5, which generates two barriers.
Then I wondered what that would look like in my array of triplets .

K indices
K index
1 5 7 1 3 7 9 3 5 9
0 0 1 2 3 4 5 6 7 8 9
1 10 11 12 13 14 15 16 17 18 19
2 20 21 22 23 24 25 26 27 28 29
3 30 31 32 33 34 35 36 37 38 39
4 40 41 42 43 44 45 46 47 48 49
5 50 51 52 53 54 55 56 57 58 59
6 60 61 62 63 64 65 66 67 68 69
7 70 71 72 73 74 75 76 77 78 79
8 80 81 82 83 84 85 86 87 88 89
9 90 91 92 93 94 95 96 97 98 99
10 100 101 102 103 104 105 106 107 108 109
11 110 111 112 113 114 115 116 117 118 119
12 120 121 122 123 124 125 126 127 128 129
13 130 131 132 133 134 135 136 137 138 139
14 140 141 142 143 144 145 146 147 148 149
15 150 151 152 153 154 155 156 157 158 159
16 160 161 162 163 164 165 166 167 168 169
17 170 171 172 173 174 175 176 177 178 179
18 180 181 182 183 184 185 186 187 188 189
19 190 191 192 193 194 195 196 197 198 199
20 200 201 202 203 204 205 206 207 208 209
k Terminaciones
2-11 1 5 7 1 3 7 9 3 5 9
0 1 5 7 11 13 17 19 23 25 29
1 31 35 37 41 43 47 49 53 55 59
2 61 65 67 71 73 77 79 83 85 89
3 91 95 97 101 103 107 109 113 115 119
4 121 125 127 131 133 137 139 143 145 149
5 151 155 157 161 163 167 169 173 175 179
6 181 185 187 191 193 197 199 203 205 209
7 211 215 217 221 223 227 229 233 235 239
8 241 245 247 251 253 257 259 263 265 269
9 271 275 277 281 283 287 289 293 295 299
10 301 305 307 311 313 317 319 323 325 329
11 331 335 337 341 343 347 349 353 355 359
12 361 365 367 371 373 377 379 383 385 389
13 391 395 397 401 403 407 409 413 415 419
14 421 425 427 431 433 437 439 443 445 449
15 451 455 457 461 463 467 469 473 475 479
16 481 485 487 491 493 497 499 503 505 509
17 511 515 517 521 523 527 529 533 535 539
18 541 545 547 551 553 557 559 563 565 569
19 571 575 577 581 583 587 589 593 595 599
20 601 605 607 611 613 617 619 623 625 629

Every number that ends in 1 and is of the form 3x+1 such that x=10k, will be composite when its sum to 1 of its k-index is equal to 3, 9, 10, its sum to two of 3x+1 is equal to 4, 28 and its sum to two of 3x+3 is equal to 6, 30

index 10k 3x+1 3x+3 sum index sum 3x+1 sum 3x+3 prime
37 370 1111 1113 10 4 6 C
333 3330 9991 9993 9 28 30 C
334 3340 10021 10023 10 4 6 C
370 3700 11101 11103 10 4 6 C
633 6330 18991 18993 3 28 30 C
666 6660 19981 19983 9 28 30 C
963 9630 28891 28893 9 28 30 C
966 9660 28981 28983 3 28 30 C
993 9930 29791 29793 3 28 30 C
999 9990 29971 29973 9 28 30 C

Legendre’s Conjecture: Considerations for the Proof

For the proof of Legendre’s conjecture, we will consider the following:

  • The set of natural numbers is infinite.

  • The subset of prime numbers is also infinite.

  • Within the **Distribution of Canonical Triplets** there is only one triplet of numbers that contains two primes: .

    Form Form Form
    1 2 3
    4 5 6
    7 8 9
    10 11 12
    13 14 15
    16 17 18
    19 20 21
    22 23 24
    25 26 27
    28 29 30
    31 32 33
    34 35 36
  • Every triplet with an index can contain at most one prime number.

  • It is possible to find triplets composed of three composite numbers. The parity of the triplets follows a regular pattern, where the forms and alternate their parity, and the form is always even.

    Remainder 1 mod(3) Remainder 2 mod(3) Remainder 0 mod(3)
    Form Form Form
  • Understanding that the set of natural numbers is infinite, it is possible to find a number which is the product of two natural numbers such that . In this context, and may or may not be prime numbers. These numbers and can be expressed in the following forms: and , which coincides with the canonical triplets.

  • The canonical curve, which is the product of the conic forms and , is .

  • Between two triplets of composite numbers, there will always exist at least one prime number.

By observing the **Distribution of Canonical Triplets** (Table 1), we can clearly see that for each row or triplet, there is only one prime number from index . Since prime numbers are infinite, there will always be a triplet with at least one prime at index .

Statement of Legendre’s Conjecture

Legendre’s conjecture states that for every positive integer , there exists a prime number such that:

Proof: A Specific Case

We define the functions and and their squares and : This definition is, in essence, the statement of Legendre’s conjecture. The equations for and represent two parabolas.

As a first example, let’s analyze the case where . In this case, the definition of Legendre’s conjecture is satisfied, since the prime numbers 2 and 3 are found in the interval .

Generalization

We define two sets, and :

  1. Set is composed of all values of the form , where .

  2. Set is composed of all values of the form , where .

Both sets, and , are **infinite** because and can take an infinite number of values in .
Now, we define a new set, , which contains the result of the multiplication of each element of with each element of B: Since and are infinite sets, set is also infinite.

As is infinite and contains all possible values of , there are an infinite number of equations of this form. These equations can cross the intervals of Legendre’s conjecture, such as . It can be concluded that for infinite combinations of products of numbers of the forms and , there will always exist a point such that the values of will be within the range , thus verifying the conjecture for this particular case.

Legendre Function

The only function that satisfies Legendre’s Conjecture under these conditions is: And the following inequality holds: such that:

This implies that:

the only solution that satisfies this equation is when is an irrational number. All the solutions of Legendre’s hypothesis must be found in the interval. .

Where and are odd numbers that satisfy the minimum conditions for a number to be prime.

Comments

You can click -> in the editor toolbar to insert an image, either by providing a link or uploading a file. Alternatively, you can insert an image directly using LaTeX code. For example, the following code will include the first image in your PDF:

\includegraphics[width=520px]{https://upload.wikimedia.org/wikipedia/commons/thumb/5/50/Primencomposite0100.svg/600px-Primencomposite0100.svg.png}

image

Add a comment

You must log in to post a comment.