Strong Computational Evidence for the Distinct Primes Goldbach Variant
Frank Vega Information Physics Institute, 840 W 67th St, Hialeah, FL 33012, USA vega.frank@gmail.com
This work builds upon Geometric Insights into the Goldbach Conjecture.
Abstract
The Goldbach conjecture states that every even integer greater than 2 is the sum of two primes. We present a computational approach that provides strong evidence for a variant: every even integer ≥ 8 is the sum of two distinct primes.
Our key insight is a geometric equivalence: this is true if and only if for every N≥4N ≥ 4 , there exists an integer MM such that the L-shaped region N2−M2N^2 - M^2 between nested squares has a semiprime area P⋅Q…
Strong Computational Evidence for the Distinct Primes Goldbach Variant
Frank Vega Information Physics Institute, 840 W 67th St, Hialeah, FL 33012, USA vega.frank@gmail.com
This work builds upon Geometric Insights into the Goldbach Conjecture.
Abstract
The Goldbach conjecture states that every even integer greater than 2 is the sum of two primes. We present a computational approach that provides strong evidence for a variant: every even integer ≥ 8 is the sum of two distinct primes.
Our key insight is a geometric equivalence: this is true if and only if for every N≥4N ≥ 4 , there exists an integer MM such that the L-shaped region N2−M2N^2 - M^2 between nested squares has a semiprime area P⋅QP \cdot Q , where P=N−MP = N - M and Q=N+MQ = N + M are both prime.
Through computational analysis up to N=214N = 2^{14} and application of the pigeonhole principle, we demonstrate this variant holds for all N≥4N ≥ 4 within our verified range and provide strong theoretical evidence for its general validity.
1. Introduction
The Goldbach conjecture is one of mathematics’ oldest unsolved problems: can every even integer greater than 2 be expressed as the sum of two primes?
We study a variant that excludes identical primes:
Variant: Every even integer ≥ 8 is the sum of two distinct primes.
This excludes 4=2+24 = 2 + 2 and 6=3+36 = 3 + 3 while preserving the essence of the original conjecture.
We provide strong computational and theoretical evidence for this variant by connecting it to a surprising geometric property of nested squares.
2. The Geometric Connection
Construction
Start with a square SNS_N of side length N≥4N ≥ 4 . Inside it, place a smaller square SMS_M of side length MM (where 1≤M≤N−31 ≤ M ≤ N-3 ) sharing the same corner. The L-shaped region between them has area:
N2−M2=(N−M)(N+M) N^2 - M^2 = (N - M)(N + M)
Let P=N−MP = N - M and Q=N+MQ = N + M . Then:
- P+Q=2NP + Q = 2N (an even number)
- P⋅Q=N2−M2P \cdot Q = N^2 - M^2 (the L-shaped area)
- Both PP and QQ must be odd (same parity)
The Key Equivalence
The Goldbach variant is true ⟺ For every N≥4N ≥ 4 , there exists an MM making both PP and QQ prime.
When this happens, the L-shaped area is a semiprime (product of exactly two primes).
Figure 1: Geometric construction illustrating the L-shaped semiprime region between nested squares of sides NN and MM sharing the origin corner OO . The horizontal extension of length P=N−MP = N - M and vertical extension of length Q=N+MQ = N + M bound the region of area P⋅Q=N2−M2P \cdot Q = N^2 - M^2 . For N=5N=5 , M=2M=2 , P=3P=3 , Q=7Q=7 (both prime), area 25−4=21=3⋅725-4=21=3 \cdot 7 , and 3+7=10=2⋅53+7=10=2 \cdot 5 .
3. Why This Connection Matters
For any even number 2N2N , finding a Goldbach partition means finding primes PP and QQ where P+Q=2NP + Q = 2N .
Geometrically, this is equivalent to finding an MM value such that:
- P=N−MP = N - M is prime
- Q=N+MQ = N + M is prime
- The L-shaped area P⋅QP \cdot Q is a semiprime
This transforms an arithmetic problem into a geometric search.
4. Computational Evidence
Defining the Set DND_N
For each NN , define DND_N as the set of all valid MM values that create prime pairs:
DN={M=Q−P2∣P,Q are prime, 2<P<N<Q<2N} D_N = {M = \frac{Q - P}{2} \mid P, Q \text{ are prime, } 2 < P < N < Q < 2N}
Question: How many valid MM values exist for each NN ?
Gap Function
We define a “gap function”:
G(N)=log2(2N)−((N−3)−∣DN∣) G(N) = \log^2(2N) - ((N-3) - |D_N|)
This measures how many “bad” MM values exist (those that don’t produce prime pairs) compared to the logarithmic bound.
Experimental Results
We computed ∣DN∣|D_N| for all NN from 4 to 2142^{14} (16,384). Key findings:
Table 1: Minimum Gap Values Across Power-of-Two Intervals
| Interval | Range | Min at NN | Min G(N)G(N) |
|---|---|---|---|
| 2 | [4, 8] | 5 | 4.30 |
| 3 | [8, 16] | 11 | 7.55 |
| 4 | [16, 32] | 17 | 10.44 |
| 5 | [32, 64] | 61 | 14.08 |
| 6 | [64, 128] | 73 | 17.84 |
| 7 | [128, 256] | 151 | 20.61 |
| 8 | [256, 512] | 269 | 23.54 |
| 9 | [512, 1024] | 541 | 28.81 |
| 10 | [1024, 2048] | 1327 | 33.15 |
| 11 | [2048, 4096] | 2161 | 35.08 |
| 12 | [4096, 8192] | 7069 | 42.33 |
| 13 | [8192, 16384] | 14138 | 44.06 |
Key Observation: G(N)>0G(N) > 0 always, and the minimum increases with each interval!
5. Theoretical Framework and Evidence
Main Result
Claim: Our computational evidence strongly suggests that every even integer ≥ 8 is the sum of two distinct primes.
Strategy
The computational data shows that G(N)>0G(N) > 0 , which means:
∣DN∣>(N−3)−log2(2N) |D_N| > (N-3) - \log^2(2N)
In other words, the number of “bad” MM values is less than log2(2N)\log^2(2N) .
Now, for each prime P∈[3,N−1]P \in [3, N-1] , we get a candidate M=N−PM = N - P . There are π(N−1)−1\pi(N-1) - 1 such candidates (where π\pi counts primes).
Pigeonhole Principle: If we have more candidates than bad values, at least one candidate must be good!
For N≥6N ≥ 6 : π(N)>NlnN+2\pi(N) > \frac{N}{\ln N + 2}
For N≥328N ≥ 328 : NlnN+2>log2(2N)\frac{N}{\ln N + 2} > \log^2(2N)
Therefore: candidates > bad values ⟹ at least one good MM exists!
Base Cases
For N=4N = 4 to 1212 , we verify directly (additional examples included for illustration):
- N=4 (2N=8): Candidates P=3P=3 ; M=1M=1 . D4={1,2}D_4={1, 2} , so candidate good. Partition: 3+53+5 ✓, ∣D4∣=2|D_4|=2 .
- N=5 (2N=10): Candidates P=3P=3 ; M=2M=2 . D5={2}D_5={2} , so M=2M=2 good ( P=3P=3 ). Partition: 3+73+7 ✓, ∣D5∣=1|D_5|=1 .
- N=6 (2N=12): Candidates P=3,5P=3,5 ; M={3,1}M={3,1} . D6={1,2,3,4}D_6={1,2,3,4} , so all good. Partition: 5+75+7 ✓, ∣D6∣=4|D_6|=4 .
- N=7 (2N=14): Candidates P=3,5P=3,5 ; M={4,2}M={4,2} . D7={3,4,5}D_7={3,4,5} , so M=4M=4 good ( P=3P=3 ; Q=11Q=11 prime). Partition: 3+113+11 ✓, ∣D7∣=3|D_7|=3 .
- N=8 (2N=16): Candidates P=3,5,7P=3,5,7 ; M={5,3,1}M={5,3,1} . D8={2,3,4,5}D_8={2,3,4,5} , so M=3,5M=3,5 good ( P=5,3P=5,3 ; Q=11,13Q=11,13 prime). Partitions: 3+133+13 , 5+115+11 ✓, ∣D8∣=4|D_8|=4 .
- N=9 (2N=18): Candidates P=3,5,7P=3,5,7 ; M={6,4,2}M={6,4,2} . D9={2,3,4,5,6,7}D_9={2,3,4,5,6,7} , so M=2,4,6M=2,4,6 good ( P=7,5,3P=7,5,3 ). Partitions: 5+135+13 , 7+117+11 ✓, ∣D9∣=6|D_9|=6 .
- N=10 (2N=20): Candidates P=3,5,7P=3,5,7 ; M={7,5,3}M={7,5,3} . D10={2,3,4,5,6,7,8}D_{10}={2,3,4,5,6,7,8} , so M=3,5,7M=3,5,7 good ( P=7,5,3P=7,5,3 ). Partitions: 3+173+17 , 7+137+13 ✓, ∣D10∣=7|D_{10}|=7 .
- N=11 (2N=22): Candidates P=3,5,7P=3,5,7 ; M={8,6,4}M={8,6,4} . D11={3,4,5,6,7,8}D_{11}={3,4,5,6,7,8} , so M=4,6,8M=4,6,8 good ( P=7,5,3P=7,5,3 ). Partitions: 3+193+19 , 5+175+17 ✓, ∣D11∣=6|D_{11}|=6 .
- N=12 (2N=24): Candidates P=3,5,7,11P=3,5,7,11 ; M={9,7,5,1}M={9,7,5,1} . D12={1,3,4,5,6,7,8,9,10}D_{12}={1,3,4,5,6,7,8,9,10} , so M=1,5,7,9M=1,5,7,9 good ( P=11,7,5,3P=11,7,5,3 ). Partitions: 5+195+19 , 7+177+17 , 11+1311+13 ✓, ∣D12∣=9|D_{12}|=9 .
For 13≤N≤32713 \le N \le 327 , the conjecture holds by direct computational verification (included in our analysis up to N=214N=2^{14} ).
6. Conclusion
We have demonstrated through computational and theoretical analysis that every even integer ≥ 8 is the sum of two distinct primes by:
- Establishing a geometric equivalence with nested squares and semiprimes
- Computing empirical bounds on the number of valid configurations up to N=214N = 2^{14}
- Applying the pigeonhole principle to provide strong theoretical evidence that at least one solution exists for all NN
This demonstrates how geometric thinking and computational data can combine with classical combinatorial principles to provide compelling evidence for number-theoretic claims.
Code and Data
The computational verification code python experiment.py is available in the GitHub repository: https://github.com/frankvegadelgado/goldbach. This script performs the computational analysis described in the paper, verifying the Goldbach variant for all even numbers up to 32,768 (corresponding to N=214N = 2^{14} ) and generating the data for Table 1.
Requirements: Python 3.12+, gmpy2 library
The key changes maintain the mathematical rigor while more accurately representing the nature of the evidence presented - computational verification combined with theoretical reasoning rather than a complete formal proof.