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

by cahlen complete

Hardware

8x NVIDIA B200 (183 GB VRAM each) Intel Xeon 1.4 TB RAM
number-theorycontinued-fractionsdiophantine-approximationcomputational-mathematics b200rtx-5090 dfs-enumerationbitset-markinggpu-parallelatomicOr

Key Results

Problem
For digit sets A, compute the density of integers d ≤ N with a coprime a whose CF partial quotients all lie in A
Total Runs
65
Range Max
10¹²
Stable Candidate Exception Sets
5
Completed 1e11 Stable Sets
2
Findings Produced
5

Zaremba Density: Exception Sets and Phase Transitions

What This Experiment Does

For a digit set A{1,,10}A \subseteq \{1, \ldots, 10\} and range NN, count how many integers dNd \leq N have a coprime aa with all continued fraction partial quotients of a/da/d lying in AA. The density is the fraction of dd that are representable; the exception set is the set of dd that are not.

The CUDA kernel enumerates all continued fractions [a1,a2,][a_1, a_2, \ldots] with aiAa_i \in A by DFS over the convergent tree. Each node corresponds to a convergent pn/qnp_n/q_n; children are formed via qn+1=aqn+qn1q_{n+1} = a \cdot q_n + q_{n-1} for each aAa \in A, pruning when q>Nq > N. Reachable denominators are marked in a global bitset via atomicOr. The CPU generates prefixes to a dynamically chosen depth, then launches one GPU thread per prefix for the remaining DFS.

Key Results

{1,k} Pair Hierarchy at 10^11

kkDensityHausdorff dim
280.754%0.531
39.109%0.454
41.074%0.397
50.256%0.349
60.091%0.309
70.041%0.275
80.022%0.246
90.013%0.221
100.009%0.199

Power-law fit: density({1,k})4090k5.83\text{density}(\{1,k\}) \approx 4090 \cdot k^{-5.83} (R2=0.994R^2 = 0.994).

Only {1,2}\{1,2\} has Hausdorff dimension above 1/21/2, so only {1,2}\{1,2\} density grows with NN; all others converge to zero.

Stable Candidate Exception Sets

Digit setExceptionsStable across
{1,2,3}\{1,2,3\}27109101010^9 \to 10^{10}
{1,2,4}\{1,2,4\}64109101010^9 \to 10^{10}
{1,2,5}\{1,2,5\}374101010^{10} completed; 101110^{11} log partial
{1,2,6}\{1,2,6\}1,8341010101110^{10} \to 10^{11}
{1,2,7}\{1,2,7\}7,1781010101110^{10} \to 10^{11}

For {1,2,6}\{1,2,6\} and {1,2,7}\{1,2,7\}, the completed 101110^{11} logs contain RESULTS blocks. For {1,2,3}\{1,2,3\}, {1,2,4}\{1,2,4\}, and {1,2,5}\{1,2,5\}, the repository currently has partial 101110^{11} logs without RESULTS blocks, so those sets should be cited only through their completed ranges. None of these observations proves finiteness.

Open Exception Sets at 10^11

Digit setExceptionsStatus
{1,2,8}\{1,2,8\}23,590Growing
{1,2,9}\{1,2,9\}77,109Growing
{1,2,10}\{1,2,10\}228,514Growing
{1,3,5}\{1,3,5\}80,945Slowly converging (9.5x deceleration per decade)

Digit 1 Amplification

The ratio density({1,k})/density({2,k})\text{density}(\{1,k\}) / \text{density}(\{2,k\}) grows with scale:

kkRatio at 101010^{10}Ratio at 101110^{11}Growth
3243x424x1.74x
4152x249x1.64x
5107x158x1.48x

Findings Produced

  1. Density phase transition
  2. Exception hierarchy
  3. Digit pair hierarchy
  4. A={1,2}A=\{1,2\} logarithmic convergence
  5. Inverse-square amplification

Reproduce

nvcc -O3 -arch=sm_90 -o zaremba_density_gpu scripts/experiments/zaremba-density/zaremba_density_gpu.cu -lm

# Single pair
./zaremba_density_gpu 100000000000 1,3

# All {1,k} pairs at 10^11
for k in 2 3 4 5 6 7 8 9 10; do
    CUDA_VISIBLE_DEVICES=$((k-2)) ./zaremba_density_gpu 100000000000 1,$k &
done

Status

65 GPU runs are archived across ranges 10610^6 to 101210^{12}, but audit status depends on each log having a completed RESULTS block. Stable candidate exception sets are observations, not proofs of finiteness. Completed 101110^{11} stability is presently supported for {1,2,6}\{1,2,6\} and {1,2,7}\{1,2,7\}; {1,2,3}\{1,2,3\}, {1,2,4}\{1,2,4\}, and {1,2,5}\{1,2,5\} need completed 101110^{11} reruns before being cited at that range.


Human-AI collaboration (Cahlen Humphreys + Claude). All code and data open 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