Flint Hills Series: Partial Sums to with Spike Decomposition
Abstract
We computed the Flint Hills partial sum in 1.9 seconds on a single RTX 5090 GPU. This extends the computational frontier approximately 100,000x beyond published results (previously ). The computation decomposes the sum into 19 convergent spike terms (computed in quad-double precision, ~62 decimal digits) and a smooth bulk (computed with Kahan-compensated double precision). Spikes account for 91.2% of the total sum. The last three convergent spikes (at ) all shrink, with successive ratios 0.34, 0.40, 0.63 — empirical evidence consistent with the irrationality measure , which by the Lopez Zapata near-complete criterion would imply convergence of the series.
Background
The Flint Hills Series
The Flint Hills series is defined as:
Whether this series converges is an open problem, first posed by Pickover (2002). The difficulty lies in the Diophantine approximation properties of : when is close to a multiple of , is small and the term can be enormous. Convergence depends on the irrationality measure — specifically, convergence holds if (since the exponent in the denominator is 3).
Connection to Irrationality Measure
The best rational approximations to come from its continued fraction convergents . Near these convergents, , so the spike terms dominate the sum. If , then the approximation holds for all large , which forces the spike contributions to decay.
Lopez Zapata Criterion
Lopez Zapata established a near-complete criterion connecting spike decay to convergence:
- Direction 1: If , then the spike terms decay and the series converges. This direction is conditional on Open Problem 5.6 (a Duffin-Schaeffer type estimate for the specific Diophantine structure). It is not yet unconditional.
- Direction 2: If , then infinitely many spikes grow without bound, and the series diverges.
This is a near-complete criterion, not a proof. The conditional direction (convergence given ) requires resolving Open Problem 5.6. Our computation provides empirical evidence for the hypothesis that spikes decay — consistent with — but does not prove convergence.
Method
Spike Decomposition
We separate the sum into two parts:
where are the numerators of the convergents of .
Spike Terms: Quad-Double Precision
The 19 convergent numerators with are precomputed from the continued fraction of . For each, we evaluate in quad-double precision (~62 decimal digits) using custom inline arithmetic in the CUDA kernel. This is essential because can be as small as , and double precision would lose all significant digits in the argument reduction step.
Bulk Terms: Kahan Summation + Custom Argument Reduction
The remaining terms are computed in double precision on the GPU. We use:
- Custom argument reduction — range-reduced evaluation avoiding catastrophic cancellation for large arguments
- Kahan compensated summation — maintains a running error compensation term, giving effectively double the precision for the accumulated sum
Single-Kernel Design
The entire computation runs in a single CUDA kernel launch. Each GPU thread processes a contiguous block of integers, accumulates locally with Kahan summation, and the results are reduced across the grid. Spike terms are handled separately on the host with the quad-double library.
Results
Summary
| Quantity | Value |
|---|---|
| Runtime | 1.9 seconds |
| Hardware | RTX 5090 (single GPU, 32 GB) |
| Convergent spike terms | 19 |
| Spike contribution | (91.2%) |
| Bulk contribution | (8.8%) |
| Previous frontier | |
| Extension factor |
Partial Sums at Powers of 10
| Bulk | Spike | Spike % | ||
|---|---|---|---|---|
| 30.31454612095634 | 2.65750810 | 27.65703803 | 91.23 | |
| 30.31454612095634 | 2.65750810 | 27.65703803 | 91.23 | |
| 30.31454612095634 | 2.65750810 | 27.65703803 | 91.23 | |
| 30.31454612261891 | 2.65750810 | 27.65703803 | 91.23 | |
| 30.31454612296317 | 2.65750810 | 27.65703803 | 91.23 |
The sum is remarkably stable. From to , the value changes only in the 11th significant digit, because no new large spikes appear beyond .
Spike Catalog
All 19 convergent spike terms with :
| Term magnitude | |||||
|---|---|---|---|---|---|
| 0 | 3 | 1 | |||
| 1 | 22 | 7 | |||
| 2 | 333 | 106 | |||
| 3 | 355 | 113 | |||
| 4 | 103993 | 33102 | |||
| 5 | 104348 | 33215 | |||
| 6 | 208341 | 66317 | |||
| 7 | 312689 | 99532 | |||
| 8 | 833719 | 265381 | |||
| 9 | 1146408 | 364913 | |||
| 10 | 4272943 | 1360120 | |||
| 11 | 5419351 | 1725033 | |||
| 12 | 80143857 | 25510582 | |||
| 13 | 165707065 | 52746197 | |||
| 14 | 245850922 | 78256779 | |||
| 15 | 411557987 | 131002976 | |||
| 16 | 1068966896 | 340262731 | |||
| 17 | 2549491779 | 811528438 | |||
| 18 | 6167950454 | 1963319607 |
The dominant spike is (, the famous approximation ), contributing 24.60 to the total sum — over 81% of the entire series by itself.
Spike Growth Rate Analysis
The critical question for convergence is whether spike terms grow or shrink. We compute the ratio for consecutive spike magnitudes:
| Ratio | Trend | |||
|---|---|---|---|---|
| 12 | 80143857 | SHRINK | ||
| 13 | 165707065 | SHRINK | ||
| 14 | 245850922 | SHRINK | ||
| 15 | 411557987 | GROW | ||
| 16 | 1068966896 | 0.337 | SHRINK | |
| 17 | 2549491779 | 0.402 | SHRINK | |
| 18 | 6167950454 | 0.631 | SHRINK |
The last three convergent spikes () all shrink, with ratios 0.34, 0.40, 0.63. This is the key empirical observation: after a brief uptick at (ratio 1.24), the spikes resume decaying and the decay is sustained across three consecutive terms.
This pattern is consistent with , which by the Lopez Zapata near-complete criterion (conditional on Open Problem 5.6) would imply convergence. However, 19 convergent terms is a small sample — the irrationality measure is an asymptotic property, and the true behavior at larger could differ.
Significance
What This Establishes
-
100,000x beyond published frontier. Previous computational work reached . We extend to , enabled by GPU parallelism and the spike decomposition strategy.
-
Spike dominance quantified. Spikes from the 19 convergent numerators account for 91.2% of the total sum. The bulk of terms contributes less than 9%.
-
Spike decay trend. The last three convergent spikes shrink with ratios 0.34, 0.40, 0.63 — no evidence of the explosive growth that would signal .
-
Practical convergence. The partial sum stabilizes to 8 digits by and barely moves through , suggesting the series converges to approximately .
What This Does Not Establish
- Convergence is not proved. The irrationality measure is unknown (best proven bound: , Salikhov 2008). Our data is consistent with but does not prove it.
- Lopez Zapata’s criterion is near-complete, not complete. Even if , the implication to convergence requires Open Problem 5.6 (a Duffin-Schaeffer type estimate). This remains open.
- 19 spikes is a finite sample. The continued fraction of could produce an exceptionally good approximation at some larger that creates a massive spike. Nothing in our data rules this out — it merely shows no evidence of it.
Reproducibility
git clone https://github.com/cahlen/idontknow
cd idontknow
# Compile the Flint Hills kernel (requires CUDA 13.0+, RTX 5090 or similar)
nvcc -O3 -arch=sm_100a -o flint_hills scripts/experiments/flint-hills-series/flint_hills.cu -lm
# Run to N = 10^10
./flint_hills 10000000000
# Results written to scripts/experiments/flint-hills-series/results/
Raw Data
- Spike catalog:
/data/flint-hills/spikes.csv - Partial sums at powers of 10:
/data/flint-hills/partial_sums.csv - Growth rate analysis:
/data/flint-hills/growth_rate.csv - Computation metadata:
/data/flint-hills/metadata.json
References
- Pickover, C.A. (2002). The Mathematics of Oz. Cambridge University Press.
- Salikhov, V.Kh. (2008). “On the irrationality measure of π.” Russian Mathematical Surveys, 63(3), pp. 570–572.
- Baillie, R. (2008). “Summing a curious, slowly convergent series.” American Mathematical Monthly, 115(6), pp. 525–540.
Computed 2026-03-29 on NVIDIA RTX 5090 (32 GB). Code: flint_hills.cu.
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.