Open computational mathematics. AI-audited, not peer-reviewed. All code and data open for independent verification.

by cahlen complete

Hardware

8× NVIDIA B200 (183 GB VRAM each, 1.43 TB total) 2× Intel Xeon Platinum 8570 (112 cores / 224 threads) 2 TB DDR5 RAM
number-theorycontinued-fractionsexperimental-mathematicsconstant-discovery b200dgxnvlink cuda-kernelarbitrary-precisionpslqpolynomial-enumeration

Key Results

Problem
Discover new continued fraction formulas for mathematical constants
Prior Work
Raayoni et al. (PNAS 2,024): 1.77M polynomial CFs, degree 2-3
Candidates Evaluated
586 billion (v1, deg 1-8) + 816 million (v2, asymmetric degree)
Transcendental Hits
0
False Positives
7,030 (all confirmed via 100-digit PSLQ verification)
Confirmed Formulas
20 classical (Euler e, Brouncker 4/pi, pi/4, 1/ln(2))
Algebraic Hits
sqrt(2), sqrt(5), phi
Key Finding
Equal-degree polynomial CFs cannot produce new transcendental formulas — degree ratio ~2 required
Status
Pivoting to v2 asymmetric-degree kernel and larger coefficient ranges

Ramanujan Machine: GPU-Accelerated Formula Discovery

Abstract

We extend the Ramanujan Machine framework (Raayoni et al., 2024) using GPU-accelerated polynomial CF evaluation on an 8× B200 cluster. Phase 1 exhaustively searched 586 billion equal-degree polynomial CFs through degree 8 — finding no new transcendental formulas and proving via 100-digit PSLQ that all 7,030 “transcendental hits” were double-precision false positives. Phase 2 identified the root cause (equal-degree CFs cannot produce transcendental formulas; a degree ratio of ~2 is required) and built an asymmetric-degree v2 kernel now being tested at productive configurations.

Background

A polynomial continued fraction (PCF) has the form:

a0+b1a1+b2a2+b3a3+a_0 + \cfrac{b_1}{a_1 + \cfrac{b_2}{a_2 + \cfrac{b_3}{a_3 + \cdots}}}

where an=P(n)a_n = P(n) and bn=Q(n)b_n = Q(n) are polynomials in nn. When such a CF converges to a known mathematical constant (or a simple algebraic expression involving known constants), we have discovered a formula.

Conservative Matrix Fields (CMF)

Raayoni et al. (PNAS 2024) discovered that many CF formulas arise from a unified mathematical structure called a Conservative Matrix Field — a matrix-valued function M(x,y)M(x,y) satisfying a discrete conservation law. Different “trajectories” through the CMF yield different CF formulas for the same constant, revealing deep connections between seemingly unrelated identities.

Prior Computational Frontier

WorkYearCFs EvaluatedPolynomial DegreeConstants Found
Raayoni et al. (Nature)2019~500K1-2pi, e, Catalan
Raayoni et al. (PNAS)20241.77M2-3, asymmetricpi, ln(2), Gauss, Lemniscate
This work (v1)2026586 billion1-8, equal degNone new (20 classical re-derived)
This work (v2)2026816 millionasymmetric (2,4)In progress

Method

Phase 1: Polynomial CF Evaluation (GPU)

For each candidate polynomial pair (P,Q)(P, Q) with coefficients in a bounded range:

  1. Evaluate the CF to NN terms using the convergent recurrence (forward evaluation)
  2. Compute the limit to 100+ decimal digits using CGBN (CUDA Generic Big Numbers)
  3. Store the high-precision value

Each evaluation is independent — embarrassingly parallel across GPU threads.

Phase 2: PSLQ Matching (GPU)

For each evaluated CF value vv, run PSLQ (Integer Relation Algorithm) against a database of known constants:

c0+c1v+c2π+c3e+c4ln(2)+c5γ+=0c_0 + c_1 \cdot v + c_2 \cdot \pi + c_3 \cdot e + c_4 \cdot \ln(2) + c_5 \cdot \gamma + \cdots = 0

where cic_i are small integers. If a relation is found with small coefficients, we have a formula.

PSLQ is parallelizable: each CF value can be matched independently.

Phase 3: Verification

Any discovered formula is verified by:

  1. Evaluating the CF to 1000+ digits
  2. Comparing against the constant computed independently (MPFR)
  3. If the match holds to 1000 digits, the formula is recorded

Hardware

Each B200 GPU runs ~10,000 independent CF evaluations in parallel (one per CUDA thread). With 8 GPUs and 100-term CF evaluations at 128-bit precision, we estimate ~10^8 evaluations per hour.

Results

Phase 1: Equal-Degree Search (v1 kernel, 2026-03-31 to 2026-04-07)

DegreeRangeCandidatesMatched HitsTranscendental?
1[-3,3]2,401~50No
2[-40,40]282B100K+No
3[-13,13]282B94KNo
4[-7,7]577B560No
5[-5,5]3.1T647No
6[-4,4]22.9T1,507No
7[-3,3]33.2T1,046No
8[-2,2]3.8T201No
Total586B+Zero transcendental

100-digit PSLQ verification (verify_hits.py) of ALL hits:

  • 7,030 transcendental “hits” were double-precision false positives — none held at high precision
  • 20 confirmed formulas — all classical: Euler’s e, Brouncker’s 4/pi, Leibniz pi/4, 1/ln(2)
  • Zero new discoveries

Root Cause: Wrong Degree Regime

The v1 kernel forced deg(an)=deg(bn)\deg(a_n) = \deg(b_n). But every known CF formula for transcendental constants has deg(bn)2×deg(an)\deg(b_n) \approx 2 \times \deg(a_n):

Famous Formuladeg(bn)\deg(b_n)deg(an)\deg(a_n)Ratio
Apéry’s ζ(3)\zeta(3)632.0
Catalan’s constant422.0
Brouncker’s 4/π4/\pi212.0

Equal-degree CFs converge super-exponentially to algebraic numbers — the search space literally cannot contain new transcendental formulas. This explains why 586 billion candidates produced nothing new.

Phase 2: Asymmetric-Degree Search (v2 kernel, 2026-04-07)

Built ramanujan_v2.cu with independent deg(an)\deg(a_n) and deg(bn)\deg(b_n). Also saves all converged-but-unmatched CFs for offline multi-constant PSLQ scanning.

ConfigCandidatesConvergedMatchedConfirmed (100d)
(1,2) range 104.1M3M (73%)14,88648 transcendental
(2,4) range 6816M521M (64%)3In progress

The (1,2) run confirmed known formulas for pi/4, 4/pi, 1/pi, Gauss’s constant, and 1/ln(2) at 120-200 digit precision — validating the kernel.

Next targets: (2,4) and (3,6) at larger coefficient ranges (15-20), where the Raayoni et al. team found their results.

Dataset: cahlen/ramanujan-machine-results on Hugging Face

References

  1. Raayoni, G. et al. (2019). “Generating conjectures on fundamental constants with the Ramanujan Machine.” Nature, 590, pp. 67–73.
  2. Raayoni, G. et al. (2024). “Algorithm-assisted discovery of an intrinsic order among mathematical constants.” PNAS, 121(25).
  3. David, H. et al. (2024). “The Ramanujan Library.” arXiv:2412.12361.
  4. Elimelech, R. et al. (2025). “From Euler to AI: Unifying Formulas for Mathematical Constants.” arXiv:2502.17533.
  5. Ferguson, H.R.P. and Bailey, D.H. (1999). “A Polynomial Time, Numerically Stable Integer Relation Algorithm.” NASA Technical Report.

This work was produced through human–AI collaboration (Cahlen Humphreys + Claude). Not independently peer-reviewed. All code and data open for verification at github.com/cahlen/idontknow.

Recent Updates

findingUpdate certifications and finding metadata from review cycle
findingMark Zaremba density experiment as complete
updateAdd Convergent-7B model showcase to front page
updateTighten language: empirical observations are not laws or theorems
experimentUpdate Ramanujan Machine: v1 exhausted (7K false positives), v2 kernel built
findingUpdate README: 18 findings, 53 reviews, 7 models, 3 providers
infraMCP server: fetch manifest from GitHub instead of bundling a copy
infraUpdate MCP server manifest: 207/210 issues resolved
updateUpdate stats: 207/210 issues resolved (98.6%), up from 191 (91%)
reviewFix stale review counts in llms.txt, llms-full.txt, meta.json, certifications.json