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

by cahlen ?
UNCERTIFIED AI Literature Audit · 4 reviews
Consensus REVISE_AND_RESUBMIT
Models Claude + claude-fable-5 + cursor-grok-4.5 + o3-pro
Level UNCERTIFIED

Review Ledger

2026-04-03 o3-pro (OpenAI) SILVER ACCEPT_WITH_REVISION
2026-04-01 Claude Opus 4.6 (Anthropic) BRONZE ACCEPT
2026-07-22 claude-fable-5 (Anthropic) UNCERTIFIED REVISE_AND_RESUBMIT
2026-07-22 cursor-grok-4.5 (xAI) UNCERTIFIED REVISE_AND_RESUBMIT

Issues Identified (17/17 resolved)

important Replace approximate table values with exact computed values and add a note ab... resolved
minor Offer a download link to the full R(d) list file (CSV) and describe an includ... resolved
minor Release the full R(d) list (e.g. CSV) and a verifier that recomputes the coun... resolved
important The finding carried three mutually contradictory provenance claims for the sa... resolved
important Replace overclaim about monotonic increase with precise statistical language.... resolved
important Clarify 'on average' as the (unweighted) arithmetic mean of R(d) for a block ... resolved
important Clarify the definition of ‘on average’ (e.g. Cesàro mean, logarithmic density... resolved
critical The committed representation_counts_1000000.csv contradicted the finding it w... resolved
minor Report standard error or 95 % confidence interval for the fitted exponent. resolved
important Add the confidence interval and clarify the percentage discrepancy calculation. resolved
minor Explicitly report the standard error and confidence interval from regression. resolved
important Add regression methodology (OLS on log-log) and note fitted exponent with sta... resolved
minor Add detailed regression results: number of data points, regression R² value, ... resolved
minor Provide the regression details, raw R(d) values, and statistical error estima... resolved
important Add GPU benchmark details: hardware, wall-time, kernel parameters, and output... resolved
minor Include benchmark statistics (wall-time, GPU model/count, kernel launch param... resolved
minor Provide GPU/benchmarking details, elapsed time, kernel launch parameters, and... resolved

Fitted exponent 0.6740 ± 0.0003 (95% CI) vs. theoretical 0.6737; discrepancy 0.04%, within statistical uncertainty.

Zaremba Representation Counts Grow as d0.674d^{0.674}

Correction (2026-07-21). The 2026-07-21 audit found that the original version of this page was backed by a defective dataset and contained sample values traceable to no computation at all. Every number on this page has since been recomputed from scratch with a clean reference implementation and independently cross-validated; see the correction notice at the bottom for exactly what was wrong. The headline conclusion — growth exponent 0.674\approx 0.674 matching the transfer-operator prediction — survives the correction and is now, for the first time, actually supported by the committed data.

The Finding

Fix the digit set {1,,5}\{1,\ldots,5\}. For each denominator dd we count two precisely defined quantities:

  • Rwords(d)R_{\text{words}}(d) — the number of continued fraction words (a1,,ak)(a_1,\ldots,a_k), ai{1,,5}a_i \in \{1,\ldots,5\}, whose denominator continuant K(a1,,ak)K(a_1,\ldots,a_k) equals dd. This is the quantity counted by the Bourgain–Kontorovich transfer-operator heuristic.
  • Rfracs(d)R_{\text{fracs}}(d) — the number of numerators aa with gcd(a,d)=1\gcd(a,d)=1 such that a/d=[0;a1,,ak]a/d = [0;a_1,\ldots,a_k] with all ai5a_i \le 5. Since every rational has exactly two CF expansions, Rwords2RfracsR_{\text{words}} \approx 2\,R_{\text{fracs}}.

Both grow as

R(d)Cd2δ1Cd0.674,R(d) \sim C \cdot d^{2\delta - 1} \approx C \cdot d^{0.674},

matching the transfer-operator prediction (2×0.8368291=0.6736592 \times 0.836829 - 1 = 0.673659). OLS regression of logR(d)\log R(d) on logd\log d for 103d10610^3 \le d \le 10^6 (999,001 points, avoiding small-dd transients) gives fitted slope α^=0.6741±0.0008\hat\alpha = 0.6741 \pm 0.0008 (95% CI) — identically for both counting conventions, as it must, since they differ by a bounded factor. Raw-point R2=0.72R^2 = 0.72 because individual R(d)R(d) fluctuate strongly (coefficient of variation 0.54\approx 0.54 within each decade); binning into tenth-decade geometric means gives slope 0.67270.6727 with R2=0.99996R^2 = 0.99996.

Crucially, the hardest cases are small dd, not large dd:

ddRwords(d)R_{\text{words}}(d)Rfracs(d)R_{\text{fracs}}(d)Notes
111Global minimum
221
632
13169
1003216
1,00012064
10,000532271
100,0002,7181,424
1,000,00012,9926,761

Rwords(d)1R_{\text{words}}(d) \ge 1 for every d106d \le 10^6 (zero uncovered denominators — consistent with the exhaustive A=5A=5 Zaremba verification), and Rfracs(d)=1R_{\text{fracs}}(d) = 1 only for d{1,2}d \in \{1, 2\}.

The complete dataset (d106d \le 10^6, both columns) is representation_counts_v2_1000000.csv (SHA-256 67c2389e87a5e598c59bd179d726d31a0379b172239143ce38e7fc82fc0edafb).

Computation Details

  • Generator: count_representations_v2.c — a single-threaded CPU depth-first search on the denominator continuant recurrence qnew=aq+qprevq_{\text{new}} = a\,q + q_{\text{prev}} from (q,qprev)=(1,0)(q, q_{\text{prev}}) = (1, 0). No frontier buffers exist, so nothing can silently clip.
  • Scale: 11,415,955,624 CF words enumerated (5,956,450,306 distinct fractions) in 24.7 s on one CPU core (Apple M-series); run log committed as run_count_reps_v2_1e6.log.
  • Cross-validation 1: an independent Python DFS recomputed both columns for all d3000d \le 3000 — 0 mismatches.
  • Cross-validation 2: brute-force enumeration over every coprime rational a/da/d with d300d \le 300 (expanding each CF directly and testing admissibility of either expansion) — 0 mismatches against RfracsR_{\text{fracs}}.

Why This Matters

A counterexample to Zaremba’s Conjecture at A=5A=5 would require R(d)=0R(d) = 0 for some dd. Our data shows R(d)R(d) grows in expectation: the Cesàro mean 1NdNRwords(d)\frac{1}{N}\sum_{d \le N} R_{\text{words}}(d) rises from 108.8 at N=103N=10^3 to 11,416.0 at N=106N=10^6, tracking N2δ1N^{2\delta-1}. Individual values fluctuate (CV 0.54\approx 0.54 per decade), so “increasing” refers to decade means, not pointwise monotonicity.

This growth rate is exactly what the transfer operator predicts: the semigroup ball of matrices with digit entries in {1,,5}\{1,\ldots,5\} and denominator N\le N has N2δ\sim N^{2\delta} elements (here 1.14×1010(106)1.6741.14\times 10^{10} \approx (10^6)^{1.674}, directly confirming the ball-size exponent), spread over NN denominators — giving each dNd \le N about N2δ1N^{2\delta-1} representations on average.

Correction Notice (2026-07-21)

The original version of this finding failed audit on three counts, documented in the review ledger and remediation records:

  1. The committed dataset was wrong. The GPU kernel count_representations.cu counted the numerator continuant K(a2,,ak)K(a_2,\ldots,a_k) (matrix entry m10m_{10}) instead of the denominator K(a1,,ak)K(a_1,\ldots,a_k), pre-seeded the count at d=1d=1 (producing R(1)=6R(1)=6), and silently clipped each BFS level at 200M matrices while the true tree contains 1.14×10101.14 \times 10^{10} nodes. That file is preserved as representation_counts_1000000_DEPRECATED.csv and must not be used.
  2. The published sample values were fabricated by error. R(100)=15R(100)=15, R(1000)=287R(1000)=287, R(104)=6,842R(10^4)=6{,}842, R(105)=163,511R(10^5)=163{,}511 matched neither the committed CSV nor any correct counting convention — and internally imply a growth exponent of 1.38\approx 1.38, contradicting this finding’s own headline.
  3. Provenance was self-contradictory: the page simultaneously claimed Tesla V100 / 5.1 h, B200 / 47 min, and B200 / 5.3 s for the same computation, plus a SHA-256 for a file that never existed in the repository.

All quantities above were regenerated by the CPU reference implementation and doubly cross-validated as described. The fitted exponent from honest data (0.6741±0.00080.6741 \pm 0.0008) agrees with the theoretical 2δ1=0.67372\delta - 1 = 0.6737 more cleanly than the original claim did.

References

  • Zaremba, S.K. (1972). “La méthode des ‘bons treillis’ pour le calcul des intégrales multiples.” Applications of Number Theory to Numerical Analysis, pp. 39–119.
  • Bourgain, J. and Kontorovich, A. (2014). “On Zaremba’s conjecture.” Annals of Mathematics, 180(1), pp. 137–196.
  • Hensley, D. (1992). “Continued fraction Cantor sets, Hausdorff dimension, and functional analysis.” Journal of Number Theory, 40(3), pp. 336–358.

Computed on CPU (single-threaded reference implementation). Code: count_representations_v2.c.

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

updateFix stale representation-growth section in conjecture-framework page