The sum after Leibniz's, made geometric
Worth reading first: Turning a slow series geometric · The series everything else is measured against.
Turning a slow series geometric took Leibniz’s series,
which needs five billion terms for ten decimal places, and rewrote it with Euler’s transformation into a series whose terms halve at every step. The lesson was that a slow series and a fast one can carry the same information, and that the fast one is a rearrangement of the slow one’s own terms. It ended with the obvious next member of the family. Square the odd numbers and keep the alternating signs:
This is Catalan’s constant, named after Eugène Catalan, who studied it in the 1860s. It converges as slowly as Leibniz’s series, it turns up in more places than its obscurity suggests, and its nature is unknown: nobody knows whether it is a fraction. This essay makes its series geometric in two different ways, uses the faster one to compute a thousand decimals, and then asks what a thousand decimals can and cannot settle about the question that matters.
Why the defining series is slow
The terms of are , and an alternating series whose terms decrease to nought has an error after terms no larger than the next term. Here the next term after sixty is , about , and the actual error is about half that: four correct decimals for sixty terms of work. Each further correct decimal needs the term count multiplied by about , so twenty decimals would need around a billion billion terms. As a means of computing the number the series is useless.
The reason is visible in a single number: the ratio of each term to the one before. For that ratio is , which tends to 1. A series is measured against the geometric series, and a series whose ratio tends to 1 is as far from geometric as a convergent series can be. Every method of acceleration is, in one way or another, a method of producing a new series with the same sum and a ratio below one.
Euler’s transformation: a ratio of one half
Euler’s transformation applies to any alternating series whose terms are smooth enough. It replaces the terms by their repeated differences:
with the -th numerator the -th difference of the sequence, divided by . For terms like the differences shrink only slowly, so the denominators do most of the work, and the new series’ terms shrink by a factor approaching two — a geometric series with ratio one half in all but name. The figure’s middle curve settles at after forty terms, and the hero shows the result: after sixty terms of the transformed series the error is about , each term adding of a decimal.
This is exactly what the transformation did to Leibniz’s series, and it works on Catalan’s constant for the same reason: the terms come from a function that is smooth and completely monotone, and the differences of such a function never grow. It also shows the limit of the method. A ratio of one half is the best this transformation gives for any series of this shape, so a thousand decimals would need over three thousand terms, each a difference of thousands of numbers.
Ramanujan’s identity: a ratio of one quarter
A better series comes from a different idea. Among the formulas Srinivasa Ramanujan recorded in his notebooks is
The sum on the right has terms with a central binomial coefficient in the denominator, and grows like , so the terms shrink by a factor tending to four. The third curve in the ratio figure settles at one quarter, and in the hero the error falls by of a decimal per term, reaching after sixty terms.
The identity splits into something known and something fast. The first part, times the logarithm of , is about and can be computed to any accuracy by standard series. The second part starts at and its later terms fall away quickly — the sixth is already about — so the series does almost all of its work in its first few terms and refines for ever after. Identities of this shape come from writing as an integral, , changing variables, and expanding the new integrand in a series whose coefficients are reciprocals of central binomial coefficients. The same device gives , and it gave Apéry the series that started his proof.
A thousand decimals
With a ratio of a quarter, a thousand decimals need about terms. The figures compute them in exact integer arithmetic: every quantity is a whole number standing for itself divided by , with from Machin’s formula, from the series for the inverse hyperbolic tangent, and the binomial terms built by updating the previous term with one multiplication and one division. Ramanujan’s series needs 1,703 terms before its terms fall below the last digit carried, and the result agrees with the published decimals of Catalan’s constant at every place checked.
The thousand digits look like a thousand digits from a fair ten-sided die. The counts range from 78 sixes to 124 sevens, and the chi-squared statistic for the whole table is 14.6 on nine degrees of freedom, a value that a genuinely random sequence exceeds about one time in ten. That says nothing about whether is a fraction. A fraction with a denominator in the hundreds of digits has a decimal expansion that repeats only after hundreds of digits, and its first thousand would pass this test just as well. Digit frequencies are a statement about normality, which is a much stronger property than irrationality and is not known for any classical constant.
What the continued fraction can settle
The right instrument for the fraction question is the continued fraction. Every number has one, , and a number is a fraction exactly when its continued fraction stops. A thousand decimals do not determine the continued fraction completely, but they determine an initial part of it with certainty: the decimals pin inside an interval of width , and every partial quotient that is the same for both ends of that interval is a partial quotient of . For these decimals the two ends agree for 967 partial quotients.
The quotients follow the law that almost every number obeys. Carl Friedrich Gauss conjectured and Rodion Kuzmin proved in 1928 that for almost every real number the proportion of partial quotients equal to tends to : about 41.5% ones, 17% twos, 9.3% threes, and a long tail. Catalan’s constant has 41.5% ones among its first 967, and its other shares are within the fluctuations a sample of that size allows. Its largest quotients so far are 1,102, 568 and 476 — the occasional very large quotient is also typical, since the expected count of quotients above falls only like .
The continued fraction then answers the fraction question as far as it can be answered by computation. If were , its continued fraction would stop, and would be its last convergent. The convergents of are known for 967 steps, and their denominators grow steadily.
The 967th denominator has 500 digits. So any fraction equal to Catalan’s constant has a denominator of at least 500 digits. The figure’s straight line is Paul Lévy’s theorem of 1936, that for almost every number the -th denominator grows like , about ; the measured rate for is 3.2890. Aleksandr Khinchin’s theorem of 1934 says that for almost every number the geometric mean of the partial quotients tends to ; for ’s first 967 it is 2.7078. Catalan’s constant behaves, as far as anyone can compute, like a number picked at random.
What each digit costs
The three series can be compared by the work a thousand decimals would take, and the comparison is more lopsided than the ratios suggest. The defining series would need around terms, a number with no physical meaning. Euler’s transformation needs about 3,300 terms, but its -th term is the -th difference of the original sequence, a combination of numbers with binomial weights, so the whole computation is millions of multiplications of thousand-digit numbers. Ramanujan’s series needs 1,703 terms, and each term is obtained from the previous one by multiplying by and dividing by — two operations on one large number. The constant parts cost about as much again: Machin’s formula for and the inverse hyperbolic tangent for the logarithm are themselves geometric series, with ratios and .
So the point of a geometric rearrangement is not only the ratio but the shape of each term. A term that can be updated from its predecessor in a fixed number of operations makes the cost of digits proportional to terms times the cost of arithmetic on -digit numbers. That is the scheme every record computation of a classical constant uses, organised so that the large multiplications are few. The figures do the arithmetic plainly, with no such organisation, and a thousand decimals of Catalan’s constant still take a fraction of a second.
A pattern would have been a proof
The continued fraction of shows nothing, and it is worth being exact about what showing something would have meant. The continued fraction of is , with the even numbers marching through it in a fixed pattern. A pattern that can be proved to continue is a proof of irrationality, since a continued fraction that provably never stops belongs to an irrational number, and Euler proved irrational exactly that way. The square root of any non-square has a continued fraction that repeats, and the repetition is again a proof. Catalan’s constant offers neither: its first 967 quotients — 1, 10, 1, 8, 1, 88, 4, 1, 1, 7, 22 and onward — have no visible regularity, which is what a typical number’s look like, and a number whose quotients look like chance gives a proof nothing to hold on to.
The convergents still say something quantitative. Each convergent satisfies , and the large quotients mark the exceptionally good ones: the quotient 88 in fifth position means the convergent before it is within about of . How close a fraction can get to an irrational number is controlled by these quotients, and for almost every number the quotients are unbounded but rarely large. The occasional 1,102 is part of that pattern, not a sign of anything special.
Leibniz’s series and its sequel
The two series of this essay are the first two members of a family. The Dirichlet beta function is
so that Leibniz’s series is and Catalan’s constant is . The family’s odd members are all known: , , and in general is a rational multiple of . The even members — , , and on — have no such formula, and none of them is known to be irrational.
That is the exact mirror image of the zeta function. For the even values are rational multiples of powers of , and onward, and the odd values are the mysterious ones. Roger Apéry proved in 1978 that is irrational by finding a series for it that converges geometrically, with a ratio so small that the convergents approach faster than any fraction could; nobody has done the same for , or for . The nearest result is Tanguy Rivoal and Wadim Zudilin’s of 2003: at least one of the seven numbers is irrational. Which one, the proof does not say.
The connection runs through the reason the known values are known. Both families are values of functions built from characters — from the trivial one and from the character that is on numbers one more than a multiple of four and on those one less — and Euler’s method for , extended, evaluates each function exactly at the arguments where its character’s parity matches the argument’s. The trivial character is even and gives the even zeta values; the other is odd and gives the odd beta values. Catalan’s constant sits at the argument where the parity is wrong, which is where no exact evaluation is known for either family.
Where the constant turns up
Catalan’s constant is not a curiosity of series. It is the growth rate of a basic counting problem: the number of ways to tile a square with dominoes grows like , so that each square of a large board contributes to the logarithm of the count. That was found in 1961 by Pieter Kasteleyn and independently by Harold Temperley and Michael Fisher, from a determinant whose signs make it count tilings, and the same constant governs the frozen corners of large random tilings of the Aztec diamond. It also appears as the integral of from 0 to 1, as , and in hyperbolic geometry, where the space around the Whitehead link — two loops, one passed through the other with a twist — has volume exactly . A number that turns up in tiling, integration and geometry, and whose arithmetic nature is unknown, is exactly the kind of number for which a fast series is worth having.
What the computations cannot show
A thousand decimals settle nothing about irrationality. They show that a fraction equal to would need a denominator of at least 500 digits, and the decimals known by record computations — billions of them — push that bound to billions of digits. No finite computation can turn such a bound into a proof that no fraction works, because there is always a larger denominator left to try.
The Gauss–Kuzmin, Khinchin and Lévy laws are about almost every number, not about this one. They hold for all real numbers outside a set of length nought, and Catalan’s constant could lie in that set. The agreement in the figures is evidence that it does not, of the same quality as the digit counts: consistent, suggestive, and proving nothing. No classical constant other than ones with explicitly known continued fractions, such as , has had any of these laws proved for it.
Ramanujan’s identity is used, not proved, in the figures. The computation agrees with the published decimals of to forty places, a check the figures make, and the identity has proofs in the literature — but the agreement is not a proof, and the essay’s argument about speed would hold for any correct identity of this shape.
The rate of a quarter is not the end. Faster series for Catalan’s constant exist, with ratios of and smaller, and record computations use them with binary splitting, a way of organising the arithmetic so that a sum of a million terms costs little more than multiplying a few very large numbers.
Still open: whether the sequel is a fraction
Is Catalan’s constant irrational? Nobody knows, and the reason is specific. Every proof that a classical constant is irrational has produced, by some means, a sequence of fractions approaching the constant faster than — fast enough that a fraction equal to it would force a whole number strictly between nought and one. Apéry’s series for did exactly that. For the series in this essay converge geometrically, but the fractions they produce have denominators that grow much faster than their accuracy improves. Ramanujan’s series is no use here at all, since its first part involves and a logarithm and its partial sums are not fractions. Euler’s transformed series does give fractions: its -th partial sum is accurate to about , and its denominator involves times the square of the least common multiple of the odd numbers up to , which is around . Accuracy of against a denominator of is a race lost by a wide margin. Whether some series for Catalan’s constant wins it, as Apéry’s did for , is exactly the open question; finding one would very likely settle the problem, and nobody has found one.
What links here
Computed from the collection, not written here: the essays that point at this one.
Shares its objects with
Essays that name at least two of the same things, and that neither author linked.
- The fraction Lambert built for the tangent — both name continued fractions, convergence, irrationality
- A geometric series whose ratio is a matrix — both name convergence, geometric series
- A series that converges to minus one — both name convergence, geometric series
- A series that waits on π — both name continued fractions, convergence
- A sum read from inside — both name convergence, geometric series
- A tail too small to be a whole number — both name geometric series, irrationality
Named objects
A dashed tag is an object no other essay names yet.
Binomial coefficientContinued fractionsConvergenceGeometric seriesIrrationalitySeries acceleration