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

by cahlen Bronze
BRONZE AI Literature Audit · 2 reviews
Consensus REVISE_AND_RESUBMIT
Models Claude + o3-pro
Level BRONZE — Novel observation, limited literature precedent

Review Ledger

2026-04-03 o3-pro (OpenAI) BRONZE REVISE_AND_RESUBMIT
2026-04-02 Claude Opus 4.6 (Anthropic) SILVER ACCEPT

Issues Identified (15/15 resolved)

critical Four 'closed' exception sets ({1,2,3}=27, {1,2,4}=64, {1,2,5}=374, {1,2,6}=18... resolved
important The claimed exponent 3-4 is wrong. OLS log-log regression on k=3..10 gives al... resolved
minor Include a log-log regression with confidence interval and discuss sensitivity... resolved
minor Same as first claim. resolved
important Add explicit log file references so the {1,k} vs {2,k} comparison is independ... resolved
important Clarify definition of ‘value’ and base claim on independently checkable data. resolved
important Replace loose 'value' language with precise density-ratio definition. The 6.9... resolved
important The 'digit 2 is 6.9x more valuable than digit 3' metric is ad hoc (ratio of f... resolved
important The 10-15s claim is wrong for {1,2} (88.4s) and {1,3} (18.0s). Only k>=4 fits... resolved
important Provide benchmark script, kernel occupancy report and total instruction count. resolved
important Add full algorithmic description, memory layout, per-pair timing table, and l... resolved
minor Provide precise algorithmic description, FLOP counts, memory layout and full ... resolved
important State upper bound searched, produce full list of exceptions and a proof that ... resolved
important Strengthen disclaimers: no proof of finiteness exists. Add upper bounds searc... resolved
critical Claimed 10-15s per {1,k} pair at 10^10 on a single B200 is inconsistent with ... resolved

Gauss-Kuzmin supports theory. 4 stable exception sets observed (27, 64, 374, 1834). {1,k} hierarchy clean data.

The {1,k} Density Hierarchy

The Finding

For each k=2,3,,10k = 2, 3, \ldots, 10, we computed the Zaremba density of the pair A={1,k}A = \{1, k\} at N=1010N = 10^{10}. The density drops exponentially with kk:

kkDensity at 101010^{10}dimH(E{1,k})\dim_H(E_{\{1,k\}})Above 1/21/2?Ratio to k1k-1
276.5487%0.531Yes
311.0568%0.454No6.9x drop
41.6096%0.397No6.9x drop
50.4398%0.349No3.7x drop
60.1721%0.309No2.6x drop
70.0840%0.275No2.0x drop
80.0475%0.246No1.8x drop
90.0297%0.221No1.6x drop
100.0201%0.199No1.5x drop

Why This Matters

The critical jump is at k=2k = 2

At N=1010N = 10^{10}, the density ratio ρ({1,2})/ρ({1,3})=76.55/11.066.9\rho(\{1,2\}) / \rho(\{1,3\}) = 76.55 / 11.06 \approx 6.9. This is the largest consecutive ratio in the hierarchy. It measures the density gap between two specific digit pairs at a fixed search range, not an intrinsic “value” of digit 2 vs. digit 3; at different NN the ratio may shift (though we expect it to stabilize as NN \to \infty because both sets have positive Hausdorff dimension). The large jump reflects both {1,2}\{1,2\} crossing the Hausdorff dimension threshold (δ>1/2\delta > 1/2) and the Gauss measure weight 1/k21/k^2 dropping by a factor of 4/90.444/9 \approx 0.44 from k=2k=2 to k=3k=3.

Gauss measure predicts the hierarchy

The Gauss measure assigns weight proportional to log(1+1/(a(a+2)))\log(1 + 1/(a(a+2))) to digit aa in a typical continued fraction. For small aa:

aaGauss weightRelative to a=1a=1
10.4151.00
20.1700.41
30.0930.22
40.0590.14
50.0410.10

Digit 1 appears 41.5% of the time in a typical CF. Digit 2 appears 17%. Digit 3 appears 9.3%. The exponential decay in our density hierarchy directly reflects this concentration: pairs with rarer digits produce exponentially fewer CF representations, leading to exponentially lower density.

Power-law fit

The densities fit approximately:

density({1,k})Ckαfor k3\text{density}(\{1,k\}) \approx C \cdot k^{-\alpha} \qquad \text{for } k \geq 3

with α5.18\alpha \approx 5.18 (OLS on log10\log_{10}-transformed data for k=3,,10k = 3, \ldots, 10; 95% confidence interval [4.65,5.71][4.65,\, 5.71], R2=0.99R^2 = 0.99, n=8n = 8). This is steeper than twice the Gauss measure exponent (2×2=42 \times 2 = 4), likely because the density of a restricted digit set depends not only on individual digit frequencies but on the full spectral gap of the transfer operator, which decays faster than 1/k21/k^2 alone would predict.

Without Digit 1: The {2,k} Hierarchy

For comparison, we computed all {2,k}\{2, k\} pairs at 101010^{10}:

kk{1,k}\{1,k\} density{2,k}\{2,k\} densityDigit 1 multiplier
311.06%0.0455%243x
41.61%0.0106%152x
50.44%0.0041%107x
60.172%0.0023%75x
70.084%0.0013%65x
80.047%0.0009%55x
90.030%0.0006%47x
100.020%0.0005%42x

Digit 1 amplifies density by 42—243x over the equivalent pair with digit 2 (ratios computed from the same GPU kernel at N=1010N = 10^{10}; see results/gpu_A1k_1e10.log and results/gpu_A2k_1e10.log for raw counts). The amplification is strongest for small kk (where digit 1’s presence lifts the Hausdorff dimension above the critical threshold) and weakest for large kk (where both sets have such low dimension that density is near zero regardless).

Without digit 1, no pair achieves even 0.1% density. This is the strongest quantitative evidence for the digit 1 dominance phenomenon.

Closed Exception Sets

Four {1,2,k}\{1, 2, k\} triples have computationally observed exception sets that appear stable — no new exceptions appear when extending the search range by a factor of 10. This is observational stability, not a proof of finiteness. No branch-and-bound or analytic argument rules out further exceptions beyond our search range. The search is exhaustive within the stated range (every integer 1dN1 \leq d \leq N is checked via the bitset).

Digit setExceptionsExhaustive toStability windowStatus
{1,2,3}\{1,2,3\}27101010^{10}109101010^9 \to 10^{10}: no growth101110^{11} in progress
{1,2,4}\{1,2,4\}64101010^{10}109101010^9 \to 10^{10}: no growth101110^{11} in progress
{1,2,5}\{1,2,5\}374101110^{11}1010101110^{10} \to 10^{11}: no growthstable
{1,2,6}\{1,2,6\}1,834101110^{11}1010101110^{10} \to 10^{11}: no growthstable

The largest exception for {1,2,4}\{1,2,4\} is d=51,270d = 51{,}270 (full list of all 64 values available in results/gpu_A124_1e10.log).

The sequence 27, 64, 374, 1,834 grows rapidly with kk. We cannot rigorously prove these sets are finite — additional exceptions could in principle appear beyond our search range. However, the stability across a full decade of extension is strong computational evidence. The computation A={1,2,7}\{1,2,7\} at 101010^{10} found 7,178 uncovered; the 101110^{11} run is underway to test stability.

Reproduce

nvcc -O3 -arch=sm_100a -o zaremba_density_gpu scripts/experiments/zaremba-density/zaremba_density_gpu.cu -lm
for k in 2 3 4 5 6 7 8 9 10; do
    ./zaremba_density_gpu 10000000000 1,$k
done

Algorithm. The kernel enumerates all continued fractions [a1,a2,][a_1, a_2, \ldots] with aiAa_i \in A by DFS over the CF 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 (1.25 GB for N=1010N = 10^{10}, one bit per integer). The CPU generates prefixes to depth 4—12 (depending on A|A| and NN), then launches one GPU thread per prefix for the remaining DFS. Bit-marking uses atomicOr for thread safety. After GPU completion, the CPU counts marked bits.

Timing per pair (NVIDIA B200, CUDA 12.8, nvcc -O3 -arch=sm_100a):

PairGPU enum (s)Total (s)Prefixes
{1,2}79.888.44096
{1,3}9.318.04096
{1,4}2.411.14096
{1,5}1.810.44096
{1,6}1.910.64096
{1,7}1.710.34095
{1,8}1.610.34083
{1,9}1.510.34083
{1,10}1.410.14017

The large tree for {1,2}\{1,2\} (Hausdorff dimension 0.531) takes 88 s; all other pairs complete in 10—18 s. Full output logs are in scripts/experiments/zaremba-density/results/.


Computed 2026-04-01 on NVIDIA B200. Human-AI collaboration (Cahlen Humphreys + Claude). Not peer-reviewed.

Recent Updates

updateGPU Zoo: cards now expandable (tap to see specs + what it can compute)
updateGPU Zoo: interactive comparison with verified specs from NVIDIA
updateUpdate README: current architecture, key pages, machine discoverability
updateAdd LICENSE: CC BY 4.0 (attribution required)
updateImprove AI crawlability: semantic HTML + contact info
reviewRegenerate meta.json + certifications.json (now auto-generated)
updateAdd /meta.json: machine-readable index for AI crawlers
findingAdd /cite/ page: ready-to-copy citations for every finding
updateAdd IndexNow key verification file
findingAdd structured data for machine discoverability on every finding page