Erratum to “Analysis of Multiplication Tables by Sum, Difference and Product: A New Approach to Primality” [Advances in Pure Mathematics (2025) 505-517] ()
1. The First Test Condition Is Trivial
For every
and every
, the tabular product satisfies
, hence
. The condition
therefore holds for all
and carries no information. The decision rests entirely on the second condition,
, equivalently
. Theorems 3 and 4 should be restated with the first condition removed.
2. The Logarithmic Depth Does Not Yield a Primality Test
Proposition E1 (Validity threshold) Let
, let
be an integer and
the primorial (the product of the primes
). The implication
holds whenever
.
Proof. Sufficiency. If
and
is composite, its least prime factor
satisfies
; thus
and
, so
.
Contrapositively,
forces
prime.
Sharpness. The critical case is the square of a prime. For
the least prime factor is
. If
, no prime
divides
, so
while
is composite: the implication fails.
The adaptive depth is
with
. Since
is itself unbounded, growing like
, one has
, which is still far below
for large
; the logarithmic version is therefore necessarily a sieve, not a test. Two explicit instances, both within the range the article claimed reliable:
l
:
,
. As
, , so the procedure returns prime for a perfect square.
l
:
,
. Both prime factors exceed 279, so
and the procedure returns prime for a composite.
3. Correction of Example 5 (Section 9.2.3)
Example 5 (Section 9.2.3 of the original article) presents
as composite, equal to
with factor
. However
which factors as
, while
; neither equals 999999000001, which is in fact prime. [1] The example should be replaced by a composite with a small prime factor, for instance
above, whose factor 3 is detected at once.
4. Corrected Statement of the Criterion
Theorem E1 (Primality criterion by coprimality; replaces Theorems 3-4) For
, let
. Then
Proof. By the argument of Proposition E1, with
: the least prime factor
of a composite
satisfies
, hence
since
is an integer. (Here the depth is the fixed value
, in contrast with the adaptive depth
of Section 5.)
Remark E1 (Status of the criterion) Under the bound
the criterion is decision-equivalent to trial division up to
: it decides the same thing on every input, namely the existence of a prime factor
. It differs as a procedure—a reformulation of primality as coprimality,
prime
coprime to the product of the primes
: by the prime number theorem [1] [2] ,
, so
has on the order of
bits. The contribution of this work is the proposed tabular framework and its associated reformulation.
5. Revised Section 8: From Test to Sieve
Definition E1 (Logarithmic primorial sieve) For
, let
, depth
and
. The sieve returns composite (certain) when
; otherwise, when
, it reports no prime factor
—inconclusive as to primality. In particular
does not imply that
is prime. The restriction
is necessary: for
the adaptive depth satisfies
, so the candidate
itself lies among the primes
; a prime
then divides
and is wrongly reported composite (this affects precisely the primes
). These small cases are settled directly by the exact bound
of Theorem E1, for which
, so no prime can be its own factor.
Theorem E2 (Performance, via Mertens) By Mertens’ third theorem [3] , the density of integers with no prime factor
is
with
. Here
, so
The surviving fraction is therefore
Hence the eliminated fraction of composites tends to 1, while the residual
stays strictly positive for every finite
and decays like
. These two facts are inseparable: they make the procedure an asymptotically near-perfect filter and, at the same time, forbid it the status of a complete test. Numerical validation (uniform sampling per band) confirms the analysis:
At the smallest band the depth already exceeds
(
), so there the sieve is locally complete and eliminates every composite; the asymptotic estimate
, valid for large
, correspondingly overestimates the survival rate in this regime.
Blind set. The composites missed at depth
form
dominated by the semiprimes
with
and containing the squares
with
. The sieve is blind precisely on
, and its cryptographically relevant core—the balanced semiprimes
with both factors large—is exactly where factoring itself is hard; the perfect squares and the strongly unbalanced semiprimes it also misses are, by contrast, easy to factor.
Complete two-stage test. Hence the correct, efficient architecture: the logarithmic primorial sieve as a first stage (eliminating ≈94% of composites at negligible cost), followed by a completion test on the survivors—deterministic Miller-Rabin [4] below known bounds, or BPSW [5] . The sieve plays the legitimate role of a front-end filter; completeness comes from the modular stage. The depth
is tunable: a larger constant lowers the survivor count as
, at the cost of a primorial of size
.
6. Results That Remain Valid
1) The tabular framework. The identities
,
and
are exact and retain their unifying and pedagogical value.
2) Carmichael numbers. The rejection result (Theorem 5 of the original article) uses the bound
, i.e. the regime
, and remains valid: a Carmichael number
is squarefree with at least three prime factors, so its least prime factor satisfies
and is detected. This property must be attached to the
bound, not to the logarithmic depth, which rejects only those Carmichael numbers having a prime factor
.