Ramanujan was a goldmine when it came to continued fractions (and many others). In this post, two families will be given: they involve *pi* and *Catalan’s constant* as special cases. However, versions will be given that roughly double the rate of convergence.

Recall that Catalan’s constant ** C** is given by,

Ramanujan gave the beautiful pair of continued fractions. Let , then,

One can just admire Ramanujan’s artistry — one continued fraction uses even numerators, the other, odd numerators. For *even* *x* > 0, it is easily seen the first one involves Catalan’s constant. For example,

On the other hand, for *odd* *x* > 1, both involve pi,

Notice though that numerators are repeated. Thanks to the insight of J.M. from a mathstackexchange post about Apery’s constant, we can speed up the rate of convergence of this particular form by getting rid of every other level and extracting even convergents. After some slightly tedious algebraic manipulation, given,

then,

So Ramanujan’s continued fractions are now the more compact,

where, starting with *n* = 1,

and,

Thus, we have the slightly faster continued fraction for Catalan’s constant ** C**,

where,

(There is an even faster one by Zudilin given in *An Apery-like difference equation for Catalan’s constant* though he states this still does not prove ** C** is irrational.)