The Proofs of Legendre’s Conjecture and Three Related Conjectures ()
1. Introduction
Legendre’s conjecture was proposed by Andrien-Marie Legendre (1752-1833). It states that there is a prime number between
and
for every positive integer n. The conjecture was one of Landau’s problems on prime numbers in 1912. Many researchers have been trying to resolve this conjecture without success, as none of the empirical, asymptotic, probabilistic, and statistical methods of proving the Legendre conjecture were considered to provide sufficient evidence. According to Wikipedia, as of 2022, the conjecture has never been proved nor disproved [1] . (See Appendix A1 for more information)
We will use the method of analyzing binomial coefficients,
, to prove
the Legendre’s conjecture, where
is an integer and
. The method is developed by the author of this paper from the method of analyzing binomial
central coefficients,
, that was used by Paul Erdős [2] to prove Bertrand’s postulate - Chebyshev’s theorem [3] .
In Section 1, we will define the prime number factorization operator and clarify some terms and concepts. In Section 2, we will derive some lemmas. In Section 3, we will develop a theorem to be used in the proofs of the conjectures in the later sections. In Section 4, we will prove Legendre’s conjecture, and in Section 5, we will prove Oppermann’s conjecture [4] , Brocard’s conjecture [5] , and Andrica’s conjecture [6] .
Definition:
denotes the prime number factorization operator of the integer expression
. It is the product of the prime numbers in the decomposition of
in the range of
. In this operator, p is a prime number,
and
are real numbers, and
.
It has some properties:
It is always true that
(1.1)
If there is no prime number in
within the range of
, then
, or vice versa, if
, then there is no prime number in
within the range of
. (1.2)
For example, when
and
,
. No prime number 13 or 11 is in
in the range of
.
If there is at least one prime number in
in the range of
, then
, or vice versa, if
, then there is at least one prime number in
within the range of
. (1.3)
For example, when
and
,
. A prime number 17 is in
within the range of
.
Let
be the p-adic valuation of n, the exponent of the highest power of p that divides n.
Similar to Paul Erdős’ paper [2] , we define R(p) by the inequalities
, and determine the p-adic valuation of
.
because for any real numbers
and
, the expression of
is 0 or 1.
Thus, if p divides
, then
, or
(1.4)
If
, then
. (1.5)
Let
be the number of distinct prime numbers less than or equal to n. Among the first six consecutive natural numbers are three prime numbers 2, 3 and 5. Then, for each additional six consecutive natural numbers, at most one can add two prime numbers,
and
. Thus,
. (1.6)
From the prime number decomposition, when
,
when
,
Thus,
.
since all prime numbers in
do not appear in the range of
.
Referring to (1.5),
. It has been proven [7] that for
,
. Thus, for
,
.
Referring to (1.4) and (1.6),
.
Thus, for
and
,
(1.7)
2. Lemmas
Lemma 1: If a real number
, then
(2.1)
Proof:
Let
; then,
.
Thus,
is a strictly decreasing function for
.
Since
, and
, for
, we have
.
Let
, then
(2.1.1)
In (2.1.1), for
,
Using the formula:
, we have
Thus, for
,
.
Since
is a positive number for
,
.
Thus
is a strictly deceasing function for
.
Since
and
, for
,
(2.1.2)
Since for
,
has a lower bound of 4 and
has an upper bound of 3.375,
is proven. (2.1.3)
Lemma 2: For
and
,
(2.2)
Proof:
When
and
,
(2.2.1)
(2.2.2)
In (2.1) when
, we have
(2.2.3)
Since
is a positive number for
, referring to (2.2.1) and (2.2.2), when
multiplies both sides of (2.2.3), we have
.
Thus,
when
and
. (2.2.4)
By induction on n, when
, if
is true for n, then for
,
Notice
, and
because
.
Thus,
.
Hence,
(2.2.5)
From (2.2.4) and (2.2.5), we have for
and
,
Thus, Lemma 2 is proven.
3. A Prime Number between
and
When
Proposition:
For
, there exists at least a prime number p such that
. (3.1)
Proof:
Referring to (1.7), when
, if there is a prime number p in
, then
. From (1.5),
. Then every prime number in
has a power of 0 or 1. (3.2)
From (1.7), for
and
,
.
Applying this inequality to (2.2), when
,
.
. Since
and
,
.
.
Thus,
.
Referring to (2.1.2), when
,
. Thus, when
,
.
Thus,
(3.3)
Let
and
both be real numbers.
When
,
(3.4)
where
when
.
Thus,
is a strictly increasing function for
.
When
,
. Thus, for
,
. Then,
.
Thus,
is a strictly increasing function for
.
Let
and
. From (3.4), when
,
.
Thus, when
, then
,
is an increasing function with respect to the product of
. (3.5)
(3.6)
where
When
, then
When
,
.
Thus, when
,
is a strictly increasing function. (See Appendix A2 for more details)
When
, since
,
is an increasing function respect to
.
When
,
.
when
.
Thus, when
,
, and it is an increasing function with respect to x and to the product of
, then,
.
Thus, when
,
is an increasing function with respect to x. (3.7)
Referring to (3.5) and (3.7), when
, then
,
is an increasing function with respect to the product of
. (3.8)
Let
and
. Then when
,
is an increasing function with respect to the product of
and n. (3.9)
When
,
.
Since
is an increasing function of the product of
, when
,
.
Since
is an increasing function with respect to n, when
,
.
Thus, referring to (3.3), when
,
.
Let integer
. When
,
. (3.10)
In
, for every distinct prime number p in these ranges, the numerator
has the product of
. The denominator
also has the same product of
. Thus, they cancel each other in
.
Referring to (1.2),
.
Thus,
. (3.11)
(See Appendix A3 for more details)
is the product of
sectors from
to
.
Each of these sectors is the prime number factorization of the product of the consecutive integers between
and
.
From (3.10) and (3.11), when
,
.
Referring to (1.1),
. Thus, when
, at least one of the sectors in
.
Let
be such a sector and let
where
from (3.11). Thus, when
,
. (3.12)
Thus,
contains all the factors of
,
,
,
,
in
.
These factors make up all the consecutive integers in the range of
in
. Thus,
contains
.
Referring to the definition, all prime numbers in
in the ranges of
and
do not contribute to
, nor does i for
. Only the prime numbers in the prime factorization of
in the range of
present in
. Since
is the product of all the consecutive integers in this range,
.
Referring to (3.12), when
,
. Thus, when
,
. Referring to (1.3), there exists at least a prime number p such that
.
Thus, Proposition (3.1) is proven. It becomes a theorem: Theorem (3.1).
4. Proof of Legendre’s Conjecture
Legendre’s conjecture states that there is a prime number between
and
for every positive integer n. (4.1)
Proof:
Referring to Theorem (3.1), for integers
, there exists at least a prime number p such that
. (4.2)
When
, then
,
Applying
into (4.2), then
.
Let
, then we have
. (4.3)
For
, we have a table, Table 1, that shows Legendre’s conjecture valid. (4.4)
Combining (4.3) and (4.4), we have proven Legendre’s conjecture.
Extension of Legendre’s conjecture
There are at least two prime numbers,
and
, between
and
for every positive integer j such that
and
where
is the nth prime number,
is the mth prime number, and
. (4.5)
Proof:
Referring to Theorem (3.1), for integers
, there exists at least a prime number p such that
.
When
, then
. Thus, there is at least a prime number
such that
when
.
When
, then
.
. Thus, there is at least another prime number
such that
when
.
Thus, when
, there are at least two prime numbers
and
between
and
such that
where
for
. (4.6)
For
, we have a table, Table 2, that shows that (4.5) is valid. (4.7)
Combining (4.6) and (4.7), we have proven (4.5). It becomes a theorem: Theorem (4.5).
Table 1. For
, there is a prime number between n2 and (n + 1)2.
Table 2. For
, there are 2 primes such that
.
5. The Proofs of Three Related Conjectures
Oppermann’s conjecture was proposed in March 1877 by Ludvig Oppermann (1817-1883). It states that for every integer
, there is at least one prime number between
and
, and at least another prime number between
and
. [4] (5.1)
Proof:
Theorem (4.5) states that there are at least two prime numbers,
and
, between
and
for every positive integer j such that
where
for
.
is a composite number except
. Since
is valid for every positive integer j, when we replace j with
, we have
.
Thus, we have
. (5.2)
When
, then
. Substituting j with
in (5.2), we have
(5.3)
Thus, we have proven Oppermann’s conjecture.
Brocard’s conjecture is based on Henri Brocard (1845-1922). It states that there are at least 4 prime numbers between
and
, where
is the nth prime number, for every
. [5] (5.4)
Proof:
Theorem (4.5) states that there are at least two prime numbers,
and
, between
and
such that
and
for every positive integer j, where
for
. When
,
is a composite number. Then Theorem (4.5) can be written as
and
.
In the series of prime numbers:
,
,
,
,
, ... all prime numbers except
are odd numbers. Their gaps are two or more. Thus, when
,
. Thus, we have
when
. (5.5)
Applying Theorem (4.5) to (5.5), when
, we have at least two prime numbers
, and
in between
and
such that
, and at least two more prime numbers
,
in between
and
such that
.
Thus, there are at least 4 prime numbers between
and
for
such that
(5.6)
Thus, Brocard’s conjecture is proven.
Andrica’s conjecture is named after Dorin Andrica [6] . It is a conjecture regarding the gaps between prime numbers. The conjecture states that the inequality
holds for all n where
is the nth prime number. If
denotes the nth prime gap, then Andrica’s conjecture can also be rewritten as
. (5.7)
Proof:
From Theorem (4.5), for every positive integer j, there are at least two prime numbers
and
between
and
such that
where
for
. Since
, we have
.
Thus, we have
(5.8)
and
. (5.9)
Since j,
,
and
are positive integers,
(5.10)
and
(5.11)
Applying (5.10) to (5.11), we have
. (5.12)
Thus,
holds for all n since in Theorem (4.5), j holds for all positive integers.
Using the prime gap to prove the conjecture, from (5.8) and (5.9), we have
. From (5.10),
.
Thus,
. (5.13)
Thus, Andrica’s conjecture is proven.
Appendix
A1
At the 1912 International Congress of Mathematicians, Edmund Landau listed four basic problems about primes. These problems were characterized in his speech as “unattackable at the present state of mathematics” and are now known as Landau’s problems. They are as follows:
1) Goldbach’s conjecture: Can every even integer greater than 2 be written as the sum of two primes?
2) Twin prime conjecture: Are there infinitely many primes p such that p + 2 is prime?
3) Legendre’s conjecture: Does there always exist at least one prime between consecutive perfect squares?
4) Are there infinitely many primes p such that p – 1 is a perfect square? In other words: Are there infinitely many primes of the form m2 + 1?
As of 2023, all four problems are unresolved.
The above content is quoted from Wikipedia. https://en.wikipedia.org/wiki/Landau%27s_problems
The author of this paper has browsed the articles about the proof of Legendre’s conjecture posted on and published in different media in recent years, and made some brief comments, as below.
1) Kouji Takaki, Proof of Legendre’s Conjecture, (Mar. 2023) https://vixra.org/abs/2110.0102
Comment: Using the empirical method to prove Legendre’s conjecture is considered insufficient evidence.
2) Zhi Li and Hua Li, Proof of Legendre Conjecture, (Sep. 2022) https://vixra.org/pdf/2209.0070v1.pdf
Comment: The method of probability and statistics introduces the uncertainty in a certain range. It is not the right choice to prove Legendre’s conjecture.
3) Kouider Mohammed Ridha, On Legendre’s Conjecture, (Sep. 2022) https://vixra.org/pdf/2209.0051.pdf
Comment: The prime number formular
is not correct.
4) Kenneth Watanabe, Definitive Proof of Legendre’s Conjecture, (2019) https://vixra.org/pdf/1901.0436v1.pdf
Comment: The asymptotic method is not the right choice to prove Legendre’s conjecture.
5) Ahmed Telfah, A Proof of Legendre’s Conjecture and Andrica’s Conjecture, (Dec. 2018) https://www.researchgate.net/publication/329844915_A_proof_of_Legendre’s_conjecture_and_Andrica’s_conjecture
Comment: Using the distribution function to deal with discrete primes creates bound problems. The empirical method is not sufficient to solve these problems.
6) Samuel Bonaya Buya, Proof of Legendre’s Conjecture, Research & Reviews: Journal of Applied Science and Innovations, RRJASI, Volum2, Issue 2, January-March, 2018
Comment: There is a contradiction between Equation (2) and Equation (9), which is a fatal error.
7) Samuel Bonaya Buya, A Simple Proof of Legendre’s Conjecture, (2018) https://www.academia.edu/35702628/A_simple_proof_of_Legendres_conjecture
Comment: Using the prime number function to estimate the prime number between
and
is not the right way to prove Legendre’s conjecture.
A2
Derivation details for
When
, then
When
, then
Thus,
then
When
,
, and
.
Then
.
Thus, when
,
is a strictly increasing function.
A3
Derivation details for (3.11)
In
, for every distinct prime number p in this range,
the numerator
has the prime number p. The denominator
also has the same p. Thus, they cancel each other in
. Referring to (1.2),
.
In
, for every distinct prime number p in this range, the numerator
has the product of
. The denominator
also has the same product of
. Thus, they cancel each other in
.
Referring to (1.2),
.
In
, for every distinct prime number p in this range,
the numerator
has the product of
. The denominator
also has the same product of
. Thus, they cancel each other in
.
Referring to (1.2),
.
In
, for every distinct prime number p in this range,
the numerator
has the product of
. The denominator
also has the same product of
. Thus,
they cancel each other in
.
Referring to (1.2),
.
In
, for every distinct prime number p in this range,
the numerator
has the product of
. The denominator
also has the same product of
. Thus,
they cancel each other in
.
Referring to (1.2),
.
Thus,
. (3.11)