Submitted:
27 July 2023
Posted:
31 July 2023
Read the latest preprint version here
Abstract
This is an expanded and revised version of the article: A. Tyszka, Statements and open problems on decidable sets X⊆N, Pi Mu Epsilon J. 15 (2023), no. 8, 493-504. The main results were presented at the 25th Conference Applications of Logic in Philosophy and the Foundations of Mathematics, see http://applications-of-logic.uni.wroc.pl/XXV-Konferencja-Zastosowania-Logiki-w-Filozofii-i-Podstawach-Matematyki. We assume that the current mathematical knowledge is a finite set of statements which is time-dependent. Nicolas D. Goodman observed that epistemic notions increase the understanding of mathematics without changing its content. We explain the distinction between algorithms whose existence is provable in ZFC and constructively defined algorithms which are currently known. By using this distinction, we obtain non-trivial statements on decidable sets X⊆N that belong to constructive mathematics and refer to the current mathematical knowledge on X. This and the next sentence justify the article title. For any empirical science, we can identify the current knowledge with that science because truths from the empirical sciences are not necessary truths but working models of truth from a particular context. Edmund Landau's conjecture states that the set P(n^2+1) of primes of the form n^2+1 is infinite. Landau's conjecture implies the following unproven statement Φ: card(P(n^2+1))<ω ⇒ P(n^2+1)⊆[2,(((24!)!)!)!]. We heuristically justify the statement Φ. This justification does not yield the finiteness/infiniteness of P(n^2+1). We present a new heuristic argument for the infiniteness of P(n^2+1), which is not based on the statement Φ.
Keywords:
composite numbers of the form 2^(2^n)+1
; constructive algorithms
; current mathematical knowledge
; decidable sets X⊆N
; epistemic notions
; informal notions
; known algorithms
; known elements of N
; primes of the form n^2+1
; primes of the form n!+1
; primes of the form 2^(2^n)+1

1. Introduction
This is an expanded and revised version of the article [18]. The main results of this article were presented at the 25th Conference Applications of Logic in Philosophy and the Foundations of Mathematics, see http://applications-of-logic.uni.wroc.pl/XXV-Konferencja-Zastosowania-Logiki-w-Filozofii-i-Podstawach-Matematyki. We assume that the current mathematical knowledge is a finite set of statements which is time-dependent. Nicolas D. Goodman in [5] observed that epistemic notions increase the understanding of mathematics without changing its content. We present non-trivial statements on decidable sets that belong to constructive mathematics and refer to the current mathematical knowledge on . This and the next sentence justify the article title. For any empirical science, we can identify the current knowledge with that science because truths from the empirical sciences are not necessary truths but working models of truth from a particular context.
2. Basic definitions
Algorithms always terminate. Semi-algorithms may not terminate. There is the distinction between existing algorithms (i.e. algorithms whose existence is provable in ) and known algorithms (i.e. algorithms whose definition is constructive and currently known), see [2,12], [14]. A definition of an integer n is called constructive, if it provides a known algorithm with no input that returns n. Definition 1 applies to sets whose infiniteness is false or unproven.
Definition 1.
We say that a non-negative integer k is a known element of , if and we know an algebraic expression that defines k and consists of the following signs: 1 (one), + (addition), − (subtraction), · (multiplication), ^ (exponentiation with exponent in ), ! (factorial of a non-negative integer), ( (left parenthesis), ) (right parenthesis).
The set of known elements of is finite and time-dependent, so cannot be defined in the formal language of classical mathematics. Let t denote the largest twin prime that is smaller than ((((((((9!)!)!)!)!)!)!)!)!. The number t is an unknown element of the set of twin primes.
Definition 2.
Conditions(1)-(5)concern sets .
(1)A known algorithm with no input returns an integer n satisfying .
(2)A known algorithm for every decides whether or not .
(3)No known algorithm with no input returns the logical value of the statement .
(4)There are many elements of and it is conjectured, though so far unproven, that is infinite.
(5) is naturally defined. The infiniteness of is false or unproven. has the simplest definition among known sets with the same set of known elements.
Condition (3) implies that no known proof shows the finiteness/infiniteness of . No known set satisfies Conditions (1)-(4) and is widely known in number theory or naturally defined, where this term has only informal meaning.
Example 1.
The set satisfies Condition (3)
.
Let denote the integer part function.
Example 2.
The set
does not satisfy Condition (3)because we know an algorithm with no input that computes . The set of known elements of is empty. Hence, Condition(5)fails for .
is computable because or there exists such that
No known algorithm computes the function h.
Example 4.
The set
is decidable. This satisfies Conditions(1)and(3)and does not satisfy Conditions(2),(4), and(5). These facts will hold forever.
Statement 1. Condition (1) remains unproven for .
Proof.
For every set , there exists an algorithm with no input that returns
This n satisfies the implication in Condition (1), but the algorithm is unknown because its definition is ineffective. □
3. Main results
Statement 2. The statement
remains unproven in and classical logic without the law of excluded middle.
Let , and let for every positive integer n.
Statement 3. The set
satisfies Conditions (1)-(4). Condition (5) fails for .
Proof.
Condition (4) holds as and the set is conjecturally infinite. Due to known physics we are not able to confirm by a direct computation that some element of is greater than , see [9]. Thus Condition (3) holds. Condition (2) holds trivially. Since the set
is empty or infinite, Condition (1) holds with . Condition (5) fails as the set of known elements of equals . □
Statements 4 and 6 provide stronger examples.
For a non-negative integer n, let denote .
Statement 4. The set
satisfies Conditions (1)-(5) except the requirement that is naturally defined. . Condition (1) holds with . . 30 .
Proof.
For every integer , 30 is the smallest integer greater than . By this, if , then . Hence, Condition (1) holds with . We explicitly know 24 positive integers k such that is prime, see [4]. The inequality remains unproven. Since , Condition (3) holds. The interval contains exactly three primes of the form : , , . For every integer , the inequality holds. Therefore, the execution of the following MuPAD code
m:=0:
for n from 0.0 to 503000.0 do
if n<1!+1 then r:=0 end_if:
if n>=1!+1 and n<2!+1 then r:=1 end_if:
if n>=2!+1 and n<3!+1 then r:=2 end_if:
if n>=3!+1 then r:=3 end_if:
if r>29.5+(11!/(3*n+1))*sin(n) then
m:=m+1:
print([n,m]):
end_if:
end_for:
displays the all known elements of . The output ends with the line , which proves Condition (1) with and Condition (4) with . □
Definition 3.
Conditions(1a)-(5a)concern sets .
(1a)A known algorithm with no input returns an integer n satisfying .
(2a)A known algorithm for every decides whether or not .
(3a)No known algorithm with no input returns the logical value of the statement .
(4a)There are many elements of and it is conjectured, though so far unproven, that is finite.
(5a) is naturally defined. The finiteness of is false or unproven. has the simplest definition among known sets with the same set of known elements.
Statement 5. The set
satisfies Conditions (1a)-(5a) except the requirement that is naturally defined. . Condition (1a) holds with . . 7 .
Proof.
For every integer , 7 is the smallest integer greater than . By this, if , then . Hence, Condition (1a) holds with . It is conjectured that is a square only for , see [19]. Hence, the inequality remains unproven. Since , Condition (3a) holds. The interval contains exactly three squares of the form : , , . Therefore, the execution of the following MuPAD code
m:=0:
for n from 0.0 to 1000000.0 do
if n<25 then r:=0 end_if:
if n>=25 and n<121 then r:=1 end_if:
if n>=121 and n<5041 then r:=2 end_if:
if n>=5041 then r:=3 end_if:
if r>6.5+(1000000/(3*n+1))*sin(n) then
m:=m+1:
print([n,m]):
end_if:
end_for:
displays the all known elements of . The output ends with the line , which proves Condition (1a) with and Condition (4a) with . □
To formulate Statement Section 3 and its proof, we need some lemmas. For a non-negative integer n, let denote the largest integer divisor of smaller than n. For a non-negative integer n, let denote the largest integer divisor of smaller than n.
Lemma 1.
For every integer , . For every integer , .
Lemma 2.
For every integer , .
Proof.
6553600 equals and divides . . . We need to prove that every integer does not divide . It holds as the set
contains 6553600 and 7812500 as consecutive elements. □
Lemma 3.
The number is prime.
Proof.
The following PARI/GP ([10]) command
isprime(6553600^2+1,{flag=2})
returns 1. This command performs the APRCL primality test, the best deterministic primality test algorithm ([21]). It rigorously shows that the number is prime. □
In the next lemmas, the execution of the command isprime(n,{flag=2}) proves the primality of n. Let denote the function
Lemma 4.
The set is infinite.
Proof.
Let . By the inequality and Lemma 1, for every non-negative integer m, the number
is prime. □
Before Open Problem Section 3, denotes the set .
Lemma 5.
For every and for every non-negative integer j, .
Proof.
By the inequality and Lemma 1,
□
Lemma 6.
.
Proof.
By Lemmas 2 and 3, for every even integer , the number is prime. Hence,
Consequently,
□
Lemma 7.
and .
Proof.
The number divides . Hence, . The number is prime. The set
contains 10000 and 12500 as consecutive elements. Hence, . The number is composite. □
The set satisfies Conditions (1)-(5) except the requirement that is naturally defined.
Proof.
Condition (2) holds trivially. Let denote . By Lemma 5, Condition (1) holds for . Lemma 5 and the unproven statement show Condition (3). The same argument and Lemma 6 yield Condition (4). By Lemma 4, the set is infinite. Since Definition 1 applies to sets whose infiniteness is false or unproven, Condition (5) holds except the requirement that is naturally defined. □
The set satisfies Condition (5) except the requirement that is naturally defined. It is true because is infinite by Lemma 4 and Definition 1 applies only to sets whose infiniteness is false or unproven. Ignoring this restriction, still satisfies the same identical condition due to Lemma 7.
Proposition 1.
No set will satisfy Conditions(1)-(4)forever, if for every algorithm with no input, at some future day, a computer will be able to execute this algorithm in 1 second or less.
Proof.
The proof goes by contradiction. We fix an integer n that satisfies Condition (1). Since Conditions (1)-(3) will hold forever, the semi-algorithm in Figure 1 never terminates and sequentially prints the following sentences:
The sentences from the sequence (T) and our assumption imply that for every integer computed by a known algorithm, at some future day, a computer will be able to confirm in 1 second or less that . Thus, at some future day, numerical evidence will support the conjecture that the set is finite, contrary to the conjecture in Condition (4). □
The physical limits of computation ([9]) disprove the assumption of Proposition 1.
Open Problem 1. Is there a set which satisfies Conditions (1)-(5)?
Open Problem 1 asks about the existence of a year in which the conjunction
will hold for some . For every year and for every , a positive solution to Open Problem i in the year t may change in the future. Currently, the answers to Open Problems 1–5 are negative.
4. Satisfiable conjunctions which consist of Conditions (1)-(5) and their negations
The set satisfies the conjunction
The set satisfies the conjunction
The numbers are prime for . It is open whether or not there are infinitely many primes of the form , see [8] and [13]. It is open whether or not there are infinitely many composite numbers of the form , see [8] and [13]. Most mathematicians believe that is composite for every integer , see [7].
The set
satisfies the conjunction
Open Problem 2. Is there a set that satisfies the conjunction
The set
satisfies the conjunction
Open Problem 3. Is there a set that satisfies the conjunction
It is possible, although very doubtful, that at some future day, the set will solve Open Problem 2. The same is true for Open Problem 3. It is possible, although very doubtful, that at some future day, the set will solve Open Problem 1. The same is true for Open Problems 2 and 3.
Table 1 shows satisfiable conjunctions of the form
where # denotes the negation ¬ or the absence of any symbol. Table 1 differs from Table 1 in [18] for three sets . These sets have the index .
Definition 4.
We say that an integer n is a threshold number of a set , if .
If a set is empty or infinite, then any integer n is a threshold number of . If a set is non-empty and finite, then the all threshold numbers of form the set .
Open Problem 4. Is there a known threshold number of ?
Open Problem 4 asks about the existence of a year in which the implication will hold for some known integer n.
Let denote the set of twin primes. Is there a known threshold number of ?
Open Problem 5 asks about the existence of a year in which the implication will hold for some known integer n.
5. Number-theoretic statements
Let , , and let for every integer . Let denote the system of equations . For an integer , let denote the following system of equations:
Lemma 8.
For every positive integer n, the system has exactly two solutions in positive integers , namely and .
Let denote the following system of equations:
For every positive integer n, no known system with a finite number of solutions in positive integers has a solution satisfying . For every positive integer n and for every known system , if the finiteness/infiniteness of the set
is unknown, then the statement
remains unproven.
For a positive integer n, let denote the following statement: if a system has at most finitely many solutions in positive integers , then each such solution satisfies . The statement says that for subsystems of with a finite number of solutions, the largest known solution is indeed the largest possible. The statement is dubious, see [17].
Theorem 1.
For every statement , the bound cannot be decreased.
Proof.
It follows from Lemma 8 because . □
Theorem 2.
For every integer , the statement implies the statement .
Proof.
If a system has at most finitely many solutions in positive integers , then for every integer the system has at most finitely many solutions in positive integers . The statement implies that . Hence, . □
Theorem 3.
Every statement is true with an unknown integer bound that depends on n.
Proof.
For every positive integer n, the system has a finite number of subsystems. □
6. A special case of the statement applies to the conjecture that
Let denote the following system of equations:
Lemma 9.
For every positive integers x and y, if and only if
Lemma 9 and the diagram in Figure 2 explain the construction of the system .
Lemma 10.(Wilson’s theorem, [3]). For every integer , x is prime if and only if x divides .
Lemma 11.
For every integer , the system is solvable in positive integers if and only if is prime. In this case, the integers are uniquely determined by the following equalities:
Proof.
By Lemma 9, for every integer , the system is solvable in positive integers if and only if divides . Hence, the claim of Lemma 11 follows from Lemma 10. □
Lemma 12.
There are only finitely many tuples , which solve the system and satisfy . It is true as every such tuple satisfies .
Proof.
The equality implies that . Hence, . Therefore, . The equalities and imply that . The equalities and imply that . The equality implies that . □
Conjecture 2. The statement is true when is restricted to the system .
Theorem 4.
Conjecture 2 proves the following implication: if there exists an integer such that is prime and greater than , then the set is infinite.
Proof.
Suppose that the antecedent holds. By Lemma 11, there exists a unique tuple such that the tuple solves the system . Since , we obtain that . Hence, . Consequently,
Conjecture 2 and the inequality imply that the system has infinitely many solutions (. According to Lemmas 11 and 12, the set is infinite. □
Landau’s conjecture implies the following unproven statement :
Theorem 5 heuristically justifies the statement . This justification does not yield the finiteness/infiniteness of .
Theorem 5.
Conjecture 2 implies the statement Φ.
Proof.
It follows from Theorem 4 and the equality . □
Theorem 6.
The statement Φ implies Conjecture 2.
Proof.
By Lemmas 11 and 12, if positive integers solve the system , then
or . In the first case, Lemma 11 and the statement imply that the inequality holds when the system has at most finitely many solutions in positive integers . Hence, and . Continuing this reasoning in the same manner, we can show that every does not exceed . □
Lemma 13.
.
Proof.
We ask Wolfram Alpha at http://wolframalpha.com. □
Statement 7. Conditions (2)–(5) hold for . The statement implies Condition (1) for and does not falsify Conditions (2)–(5).
Proof.
Conditions (2), (3), and (5) hold trivially. The set is conjecturally infinite. There are 2199894223892 primes of the form in the interval , see [16]. These two facts imply Condition (4). The statement implies that Condition (1) holds for with . By Lemma 13, due to known physics we are not able to confirm by a direct computation that some element of is greater than , see [9]. Hence, the statement does not falsify Conditions (2)–(5). □
Proving Landau’s conjecture will disprove Statement Section 6. We do not conjecture that
(Conditions (1)–(5) hold for
7. A new heuristic argument for the infiniteness of
The system contains four factorials and four multiplications. Let denote the family of all systems which contain at most four factorials and at most four multiplications.
Among known systems , the following system
attains the greatest solution in positive integers and has at most finitely many solutions in . Only the tuples and solve and belong to .
For every known system , if the finiteness of the set
is unproven and conjectured, then the statement
remains unproven.
Let denote the statement: if the system has at most finitely many solutions in positive integers , then each such solution satisfies . The number is prime ([11]) and greater than , see also [13] for the primality of . Hence, the statement is equivalent to the infiniteness of . It heuristically justifies the infiniteness of in a sophisticated way.
References
- C. K. Caldwell and Y. Gallot, On the primality of n!±1 and 2×3×5×⋯×p±1, Math. Comp. 71 (2002), no. 237, 441–448. [CrossRef]
- J. Case and M. Ralston, Beyond Rogers’ non-constructively computable function, in: The nature of computation, Lecture Notes in Comput. Sci., 7921, 45–54, Springer, Heidelberg, 2013, http://link.springer.com/chapter/10.1007/978-3-642-39053-1_6.
- M. Erickson, A. M. Erickson, A. Vazzana, D. Garth, Introduction to number theory, 2nd ed., CRC Press, Boca Raton, FL, 2016.
- Factorial prime, http://en.wikipedia.org/wiki/Factorial_prime.
- N. D. Goodman, The knowing mathematician, Synthese 60 (1984), no. 1, 21–38, http://link.springer.com/article/10.1007/BF00485616; reprinted in: H. Leblanc, E. Mendelson, A. Orenstein, Foundations: Logic, Language, and Mathematics, Springer, 1984, 21–38, http://link.springer.com/book/10.1007/978-94-017-1592-8.
- Is n!+1 often a prime?,http://math.stackexchange.com/questions/853085/is-n-1-often-a-prime.
- J.-M. De Koninck and F. Luca, Analytic number theory: Exploring the anatomy of integers, American Mathematical Society, Providence, RI, 2012.
- M. Křížek, F. M. Křížek, F. Luca, L. Somer, 17 lectures on Fermat numbers: from number theory to geometry, Springer, New York, 2001.
- S. Lloyd, Ultimate physical limits to computation, Nature 406 (2000), 1047–1054,. [CrossRef]
- PARI/GP online documentation, http://pari.math.u-bordeaux.fr/dochtml/html/Arithmetic_functions.html.
- X. M. Pi, Searching for generalized Fermat primes (Chinese), J. Math. (Wuhan) 18 (1998), no. 3, 276–280.
- R. Reitzig, How can it be decidable whether p has some sequence o f digits?, http://cs.stackexchange.com/ questions/367/how-can-it-be-decidable-whether-pi-has-some-sequence-of-digits.
- P. Ribenboim, The little book of bigger primes, 2nd ed., Springer, New York, 2004.
- H. Rogers, Jr. H. Rogers, Jr., Theory of recursive functions and effective computability, 2nd ed., MIT Press, Cambridge, MA, 1987.
- N. J. A. Sloane, The On-Line Encyclopedia of Integer Sequences, A002496, Primes of the form n2+1, http://oeis.org/A002496.
- N. J. A. Sloane, The On-Line Encyclopedia of Integer Sequences, A083844, Number of primes of the form x2+1 < 10n.
- A. Tyszka, A common approach to three open problems in number theory, Discrete Math. Lett. 12 (2023), 66–72.
- A. Tyszka, Statements and open problems on decidable sets X⊆N, Pi Mu Epsilon J. 15 (2023), no. 8, 493–504.
- E.W.Weisstein, CRC Concise Encyclopedia of Mathematics, 2nd ed., Chapman & Hall/CRC, Boca Raton, FL, 2002.
- Wolfram MathWorld, Landau’s Problems, http://mathworld.wolfram.com/LandausProblems.html.
- S. Y. Yan, Number theory for computing, 2nd ed., Springer, Berlin, 2002.
Figure 1.
Semi-algorithm that terminates if and only if is infinite.

Figure 2.
Construction of the system .

Table 1.
Five satisfiable conjunctions.

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. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
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.