Skip to main content
QUICK REVIEW

[Paper Review] GoldbachGPU: An Open Source GPU-Accelerated Framework for Verification of Goldbach's Conjecture

Llorente-Saguer, Isaac|arXiv (Cornell University)|Mar 2, 2026
Analytic Number Theory ResearchMathematics0 citations
TL;DR

GoldbachGPU presents a segmented double-sieve GPU framework that verifies Goldbach’s conjecture exhaustively up to 10^12 on a single consumer GPU, with an open-source, CPU-assisted verification and GMP-based arbitrary-precision checking extending to 10^10000.

ABSTRACT

We present GoldbachGPU, an open-source framework for large-scale computational verification of Goldbach's conjecture using commodity GPU hardware. Prior GPU-based approaches reported a hard memory ceiling near 10^11 due to monolithic prime-table allocation. We show that this limitation is architectural rather than fundamental: a dense bit-packed prime representation provides a 16x reduction in memory footprint, and a segmented double-sieve design removes the VRAM ceiling entirely. By inverting the verification loop and combining a GPU fast-path with a multi-phase primality oracle, the framework achieves exhaustive verification up to 10^12 on a single NVIDIA RTX 3070 (8 GB VRAM), with no counterexamples found. Each segment requires 14 MB of VRAM, yielding O(N) wall-clock time and O(1) memory in N. A rigorous CPU fallback guarantees mathematical completeness, though it was never invoked in practice. An arbitrary-precision checker using GMP and OpenMP extends single-number verification to 10^10000 via a synchronised batch-search strategy. The segmented architecture also exhibits clean multi-GPU scaling on data-centre hardware (tested on 8 x H100). All code is open-source, documented, and reproducible on both commodity and high-end hardware.

Motivation & Objective

  • Demonstrate that VRAM memory ceilings in GPU-based Goldbach verification are architectural, not fundamental.
  • Develop a segmented double-sieve architecture to enable exhaustive verification beyond prior GPU limits.
  • Provide a multi-phase primality oracle to correctly verify partitions without a monolithic prime table.
  • Offer an arbitrary-precision checker to extend verification to very large numbers.
  • Deliver open-source, reproducible software usable on commodity and higher-end hardware.

Proposed method

  • Use a dense bit-packed prime representation to reduce memory footprint by ~16x.
  • Implement a segmented double-sieve that inverts the verification loop to avoid segment-boundary issues.
  • Employ a three-way primality oracle (small-primes bitset, segment bitset, Miller–Rabin) for q=n-p lookups.
  • Phase 1 computes partitions on GPU with a fast-path and an atomic progress check; Phase 2 uses CPU exhaustive fallback if needed.
  • Provide an GMP-based big_check with synchronized batch-search to verify numbers up to 10^10000.

Experimental results

Research questions

  • RQ1Can GPU-accelerated verification of Goldbach’s conjecture be made exhaustive beyond 10^11 using a segmented double-sieve?
  • RQ2Does a dense prime bitset and segmentation eliminate VRAM memory ceilings on consumer GPUs?
  • RQ3What is the practicality and correctness of a multi-phase primality oracle for GPU-based partition verification?
  • RQ4How far can arbitrary-precision verification extend Goldbach verification beyond 64-bit ranges?
  • RQ5How does multi-GPU scaling perform for segmented Goldbach verification on modern accelerators?

Key findings

  • Exhaustive verification up to 10^12 is achieved on a single RTX 3070 (8 GB VRAM) with Segmented Double-Sieve (goldbach_gpu3).
  • Dense 64-bit prime bitset reduces VRAM by 16x, enabling up to 10^11 on 8 GB GPUs using goldbach_gpu2.
  • Phase 1 (GPU fast-path) succeeds for all segments up to 10^12 with zero Phase 2 CPU fallbacks observed.
  • CPU fallback guarantees mathematical completeness, though not invoked in reported experiments.
  • GMP-based big_check verifies numbers up to 10^10000 using synchronized batch-search; 10^10000 completes in 182 s on 20 threads.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.