Analysis

A series that waits on π

Add 1/(n³ sin² n) for n = 1, 2, 3, … and the terms are mostly tiny, except where n is almost a multiple of π and sin n is almost nought. Ten million terms add to 30.3145, four-fifths of it from the single term at n = 355. Whether the sum is finite depends on how closely fractions can approach π — on a number called its irrationality measure — and the best proof available says only that the measure is below 7.1, where the series needs it below 2.5.
19 min read 6 figures Small cases liePi turns up uninvited

Worth reading first: No integrand sits on the border · How close a fraction can get.

No integrand sits on the border found that there is no dividing line between convergent and divergent series: below every divergent one sits a slower-diverging one, above every convergent one a slower-converging one. It ended on a series whose side of that non-existent line nobody knows:

∑n=1∞1n3sin⁡2n.\sum_{n=1}^{\infty} \frac{1}{n^3 \sin^2 n}.

It is called the Flint Hills series, after a remark in a 2002 book by Clifford Pickover, and it looks harmless. The factor 1/n31/n^3 makes the terms small, and sin⁡2n\sin^2 n is at most one, so the terms are at least 1/n31/n^3 and usually close to it. The trouble is that sin⁡2n\sin^2 n is also sometimes very small, whenever the whole number nn is close to a multiple of π\pi, and then the term is large. How often that happens, and how close it gets, is a question about π\pi rather than about series.

This essay computes the series as far as a computer comfortably can, finds exactly where its size comes from, and shows why no amount of computing will decide whether it converges.

Ten million terms

The Flint Hills series, summed to ten million terms. A staircase of partial sums on a logarithmic scale of n, jumping at 1, 3, 22 and 355 and flat afterwards near 30.3.
Fig. 1 Partial sums of ∑1/(n3sin⁡2n)\sum 1/(n^3 \sin^2 n) for nn up to ten million, on a logarithmic scale of nn. The sum jumps at n=1n = 1, 3, 22 and 355 and is flat, to the width of the line, everywhere else. The jump at 355 is 24.60, four-fifths of the whole; by ten million terms the sum is 30.3145.

Summed directly, the series behaves oddly. The first term is 1.41, since sin⁡1=0.841\sin 1 = 0.841. The third is 1.86, because sin⁡3=0.141\sin 3 = 0.141 is small: three is close to π\pi. The twenty-second is 1.20, because 22 is close to 7π=21.997\pi = 21.99. And the three hundred and fifty-fifth is 24.60, because 355 is extraordinarily close to 113π=354.99997113\pi = 354.99997, so that sin⁡355≈−0.00003\sin 355 \approx -0.00003 and its square is about 9×10−109 \times 10^{-10}.

After that, nothing visible happens. The sum at ten million terms is 30.3145, and the ordinary terms, of size about 1/n31/n^3, contribute almost nothing beyond the first few hundred. A reader shown only this staircase would say the series obviously converges, to about 30.3, and would be making exactly the mistake the series exists to illustrate: the sum’s growth is concentrated in rare spikes, and whether there are enough large spikes further out is invisible from any finite stretch.

How the question was made precise

The series became a standard example after Pickover posed it in 2002, and for several years its connection to π\pi was a heuristic: the large terms were obviously at the good fractions, so convergence obviously depended on how good those fractions could get. Max Alekseyev made the connection a theorem in 2011. His argument has two directions. If the measure is below 5/25/2, the spikes at every good fraction are bounded by a shrinking power of the numerator, and the ordinary terms are controlled because ∣sin⁡n∣|\sin n| can be small only when nn is near a convergent’s numerator or a small multiple of one; adding the two bounds shows the sum is finite. Conversely, if the series converges, its terms go to nought, so p2μ−5p^{2\mu - 5} cannot stay large along the convergents, and that forces the measure to be at most 5/25/2.

So the series is not merely related to the irrationality measure; it is a restatement of one bound on it, with a boundary case at exactly 5/25/2 where the argument does not decide. The same kind of equivalence holds for the whole family of series with other powers, each tied to its own threshold. The Flint Hills series is the member of the family whose threshold, 5/25/2, sits closest to the believed value, 2, while still being far below anything proved.

Why the usual tests say nothing

Every test for convergence taught first compares a series with a known one. Here the natural comparison is with ∑1/n3\sum 1/n^3, which converges, as an endless region with a finite area showed for any power above one. But the comparison runs the wrong way: sin⁡2n≤1\sin^2 n \le 1 makes each term at least 1/n31/n^3, which proves nothing about the sum being finite. To bound the terms above one needs a lower bound on ∣sin⁡n∣|\sin n|, and there is no constant lower bound: the values nn taken modulo 2π2\pi come arbitrarily close to 00 and to π\pi, because π\pi is irrational, so sin⁡n\sin n comes arbitrarily close to nought.

The ratio test and the root test fail too, for a related reason: they look at how one term compares with the next, and the terms here jump by factors of millions at unpredictable places. Nothing that inspects the terms locally can see whether the rare large ones are rare enough. The question has to be translated into how close nn can come to a multiple of π\pi, which is not a question about series at all.

How often sin n is small

It helps to ask how the series would behave if the values n mod 2πn \bmod 2\pi were scattered at random, which is the right model for a typical number in place of π\pi. The values of nn modulo 2π2\pi do spread evenly round the circle — they are equidistributed, like the fractional parts in almost every orbit is fair — so the chance that ∣sin⁡n∣<ε|\sin n| < \varepsilon is about 2ε/π2\varepsilon/\pi for small ε\varepsilon.

Under that model the smallest value of ∣sin⁡k∣|\sin k| among the first nn values of kk is typically about 1/n1/n, and a value as small as 1/n21/n^{2} turns up among them only with probability about 1/n1/n; in each later stretch from nn to 2n2n the chance of such a coincidence shrinks in step. They keep happening, more and more rarely, and the n3n^3 in the denominator easily outweighs them. The model predicts convergence with room to spare, and the spikes at π\pi’s convergents behave exactly as the model predicts. What the model cannot supply is a proof that π\pi is typical in this sense, and the series is a direct test of that.

Where the spikes come from

Where the terms of the Flint Hills series spike. A log-log scatter of the terms 1 over n cubed sine squared n, following the line 1 over n cubed with spikes at the numerators of the convergents of pi.
Fig. 2 The terms 1/(n3sin⁡2n)1/(n^3 \sin^2 n) for nn up to a million on logarithmic axes, with the line 1/n31/n^3 dashed. The terms that rise far above the line sit at the numerators of fractions close to π\pi — 3, 22, 355, and later 104,348 and 833,719 — marked in red.

On logarithmic axes the terms form a band hugging the line 1/n31/n^3 from above, with spikes. Every spike is at a whole number pp for which some fraction p/qp/q is an unusually good approximation to π\pi. Then p−qπp - q\pi is small, and since sin⁡p=sin⁡(p−qπ)\sin p = \sin(p - q\pi) up to sign, sin⁡p\sin p is about as small as the error:

1p3sin⁡2p≈1p3(p−qπ)2.\frac{1}{p^3 \sin^2 p} \approx \frac{1}{p^3 (p - q\pi)^2}.

The best approximations to π\pi by fractions are its convergents, the fractions produced by its continued fraction [3;7,15,1,292,1,1,1,2,…][3; 7, 15, 1, 292, 1, 1, 1, 2, \ldots], and the fractions that beat every smaller one showed that they are exactly the fractions closer to the number than any with a smaller denominator. They are 3, 22/7, 333/106, 355/113, 103,993/33,102, 104,348/33,215, and on. Every spike in the figure is at one of their numerators.

The fractions close to π, and what each adds to the series. A table of the convergents of pi with their errors, the term each contributes to the Flint Hills series, and their approximation exponents near two.
Fig. 3 The convergents p/qp/q of π\pi, the error p−qπp - q\pi, the term the series gets at n=pn = p, and the exponent μ\mu for which ∣p−qπ∣=p1−μ|p - q\pi| = p^{1-\mu}. The fraction 355/113, just before the partial quotient 292, gives by far the largest term; after it the exponents hover near 2 and the terms fall.

The table makes the mechanism exact. The error of 355/113 is 3.0×10−53.0 \times 10^{-5}, unusually small because the next partial quotient in π\pi’s continued fraction is 292: a large partial quotient means the convergent before it is an exceptionally good approximation. That is the source of the jump. The later convergents have errors that shrink roughly like 1/p1/p, the ordinary rate for a number whose continued fraction has modest terms, and their contributions fall — 2.4×10−62.4 \times 10^{-6} at 103,993, 3.2×10−73.2 \times 10^{-7} at 833,719.

The exponent that decides

The last column of the table is the quantity that decides the series. Write the error of a convergent as ∣p−qπ∣=p1−μ|p - q\pi| = p^{1-\mu}, defining an exponent μ\mu for each fraction. Then the term at n=pn = p is about

1p3⋅p2−2μ=p2μ−5.\frac{1}{p^3 \cdot p^{2 - 2\mu}} = p^{2\mu - 5}.

If every good fraction has μ\mu comfortably below 5/25/2, the spikes shrink like a negative power of pp, and since the convergents’ numerators grow at least exponentially, the spikes add to a finite amount; the ordinary terms, of size about 1/n31/n^3, add to a finite amount too. If infinitely many fractions have μ\mu above 5/25/2, the spikes grow without bound and the series diverges.

The exponent that decides whether the spikes shrink. Lines of spike size against n for four approximation exponents, the line for five halves flat, with the actual spikes of the Flint Hills series near the line for two.
Fig. 4 Spike size p2μ−5p^{2\mu - 5} against the numerator pp for approximation exponents μ=2\mu = 2, 2.5, 3 and 4, with the actual terms at π\pi’s convergents as dots. Below μ=5/2\mu = 5/2 the spikes shrink and above it they grow; π\pi’s dots follow the μ=2\mu = 2 line except at 355.

The largest μ\mu that infinitely many fractions achieve is the irrationality measure of π\pi: the supremum of the exponents for which ∣π−p/q∣<1/qμ|\pi - p/q| < 1/q^{\mu} has infinitely many solutions. For a rational number it is 1; for every algebraic irrational it is exactly 2, by Klaus Roth’s theorem of 1955; and for almost every real number it is 2 as well. Approached too fast to be algebraic built numbers with measure infinity, which is how Liouville constructed the first transcendental numbers. Max Alekseyev showed in 2011 that the Flint Hills series converges if π\pi’s measure is below 5/25/2 and only if it is at most 5/25/2.

On the evidence of every convergent computed, π\pi’s measure is 2 — its continued fraction looks like a typical number’s, with occasional large terms like 292 of the frequency typical numbers have. If that is right, the series converges. But the measure is a statement about infinitely many fractions, and no finite computation of convergents bounds it.

Three numbers, three behaviours

The same series for three different numbers. Three staircases of partial sums on logarithmic axes: two settling to a finite value and one, for a number approximated too well by fractions, climbing without bound.
Fig. 5 Partial sums of ∑1/(n3∥nθ∥2)\sum 1/(n^3 \|n\theta\|^2), where ∥x∥\|x\| is the distance to the nearest whole number, for three numbers θ\theta on logarithmic axes: the golden ratio minus one settles at 13.78; 1/π1/\pi, which gives the Flint Hills terms times about π2\pi^2, settles at 294.29; a number whose partial quotients are as large as the square of the denominators before them passes 4.5×10104.5 \times 10^{10} and keeps climbing.

The dependence on the number, rather than on the series, can be made visible by replacing π\pi. The small values of sin⁡n\sin n are the small values of ∥n/π∥\|n/\pi\|, the distance from n/πn/\pi to the nearest whole number, so the Flint Hills series is essentially the series ∑1/(n3∥nθ∥2)\sum 1/(n^3 \|n\theta\|^2) at θ=1/π\theta = 1/\pi. Put other numbers in its place.

For the golden ratio, which fractions approximate worse than they approximate any other number, every ∥nθ∥\|n\theta\| is at least a constant over nn, the spikes are at most of size 1/n1/n, they sit at the Fibonacci numbers, which grow exponentially, and the sum settles at 13.78. For 1/π1/\pi the sum settles, as far as anyone can compute, at 294.29. For a number constructed so that each partial quotient is the square of the denominator before it, each good fraction has exponent about 4, its spike is about p3p^3, and the sum races past 101010^{10} within 300,000 terms and diverges.

The three sums are the same series with different numbers inside, and the whole difference is how well each number can be approximated by fractions. It is the same arithmetic that decided, in how smooth the disguise is, whether the change of coordinates for a circle map was smooth: there the divisors e2πikρ−1e^{2\pi i k\rho} - 1 were small when kρk\rho was close to a whole number, and here the divisors sin⁡n\sin n are small when nn is close to a multiple of π\pi. Small divisors are the same phenomenon wherever they appear.

What is proved about π

What is proved about how well fractions approximate π. Bars of the proved upper bounds on the irrationality measure of pi from 42 in 1953 to 7.10 in 2020, against the value five halves that convergence of the series would require.
Fig. 6 The best proved upper bound on the irrationality measure of π\pi as the proofs improved — 42 (Mahler, 1953), 20 (Mignotte, 1974), 19.89 (Chudnovsky, 1982), 8.02 (Hata, 1993), 7.61 (Salikhov, 2008), 7.10 (Zeilberger and Zudilin, 2020) — against 5/2, the value that decides the series, and 2, where almost every number sits.

What has been proved is much weaker than what is believed. Kurt Mahler showed in 1953 that π\pi’s measure is finite, at most 42, which already made π\pi provably not a Liouville number. The bound has been lowered by a series of increasingly sophisticated constructions of rational approximations to integrals involving π\pi — the same kind of integral that cannot be a whole number was used to prove π\pi irrational — to 7.10 by Doron Zeilberger and Wadim Zudilin in 2020.

The same bound does decide other series. With nun^u in place of n3n^3, the spikes are of size p2μ−2−up^{2\mu - 2 - u} and the threshold moves to μ<1+u/2\mu < 1 + u/2. Since π\pi’s measure is proved to be below 7.1, the series with uu above 12.2 provably converge: ∑1/(n13sin⁡2n)\sum 1/(n^{13} \sin^2 n) is finite, and so is every series with a higher power. The proof gives no help below that, and the gap between thirteen and three is the gap between what is proved about π\pi and what is believed.

Between 7.10 and 2.5 there is nothing. The series converges if the true measure is below 2.5, and the proofs cannot yet rule out that it is 7. Settling the Flint Hills series would require, at the least, bringing the bound on π\pi’s measure down by a factor of nearly three, and nobody knows how to do that.

Why computing more terms cannot help

The partial sums through ten million are 30.3145, and computations carried much further move only the later digits. None of that bears on convergence. The terms that could make the series diverge are spikes at the numerators of future convergents with unusually large partial quotients after them, and whether π\pi’s continued fraction has infinitely many partial quotients large enough — growing faster than the square root of the denominators — is exactly the question of its irrationality measure.

The continued fraction of π\pi has been computed to billions of terms, and its partial quotients follow the statistics a random number’s would — the Gauss–Kuzmin distribution, with a term of size about NN appearing roughly once in every NN terms — which is why the measure is believed to be 2. But a statistic of billions of terms is not a statement about all of them, and a single partial quotient of astronomical size somewhere beyond reach could create a spike larger than everything before it. A cube root that looks like chance met the same wall for 23\sqrt[3]{2}: a continued fraction that behaves like a typical number’s for as far as it has been computed, and no proof that it keeps doing so.

What the figures cannot show

The partial sums use ordinary double-precision arithmetic, which computes sin⁡n\sin n to about sixteen significant digits for nn up to ten million. The smallest values of sin⁡n\sin n in that range are about 4×10−84 \times 10^{-8}, at n=5,419,351n = 5{,}419{,}351, so every term is computed to about eight correct digits, and the sum is correct to the digits quoted. For much larger nn the reduction of nn modulo π\pi needs more precision than double arithmetic gives, and the terms would have to be computed exactly.

The third number in the comparison is a rational number with an enormous denominator, constructed so that its first several continued-fraction terms grow as described. Over the range computed it behaves like the irrational number it approximates; beyond its denominator it would not. The figure shows the mechanism of divergence, not a proof of divergence for any particular irrational number.

The sum 294.29 for 1/π1/\pi is not exactly π2\pi^2 times the Flint Hills sum, because ∣sin⁡n∣|\sin n| and π∥n/π∥\pi\|n/\pi\| agree only when both are small; the ordinary terms differ by a bounded factor, and the spikes, which carry almost all of both sums, agree to many digits. The comparison between the three numbers is unaffected, since the divergence of the third comes entirely from its spikes.

And the table of convergents stops at eleven. The later convergents of π\pi are known to thousands of terms, and their exponents cluster around 2 with occasional excursions, but no finite table says anything about the supremum.

Still open: whether the series converges

Whether ∑1/(n3sin⁡2n)\sum 1/(n^3 \sin^2 n) converges is unknown, and by Alekseyev’s theorem it is equivalent, up to the boundary case, to whether π\pi’s irrationality measure is less than 5/25/2. The analogous series with a different power, ∑1/(nusin⁡vn)\sum 1/(n^u \sin^v n), runs into the same question at a different threshold, 1+u/v1 + u/v in place of 5/25/2, so each choice of powers asks about a different bound on π\pi’s measure, and all of them are open between their threshold and 7.1.

The deeper open question behind all of them is whether π\pi is, in its approximation by fractions, a typical number. Every statistical test says it is. The best proof says only that it is not worse than a number approximated with exponent 7.1, and the distance between those two statements is where the Flint Hills series lives.

A sum decided by one number

The series was chosen to be easy to state and impossible to decide, and it achieves both with nothing more than a sine and a cube. Its terms are small except at rare moments, the rare moments are the good fractions for π\pi, and the size of those moments is a property of π\pi that is believed on overwhelming evidence and proved by no one. The staircase that looks flat after 355 is flat because π\pi has so far behaved like a typical number; whether it stays flat is a question about every fraction that will ever approximate π\pi, which is more than any computation can see.

Shares its objects with

Essays that name at least two of the same things, and that neither author linked.

Named objects

A dashed tag is an object no other essay names yet.

Continued fractionsConvergenceDiophantine approximationIrrationality measurePartial sumPiSeriesSmall divisors