As we have remarked before, Ramanujan seemed as if channeling the world-conquering strides of Viṣṇu, when he single-handedly bridged the lacuna in Hindu mathematics from the days of the brāhmaṇa-s of the Cerapada to the modern era. Starting around the age of 16, he started recording his results in his now famous notebooks. Till that point, Ramanujan had access to only two primary educational sources: Plane trigonometry by Sydney Luxton Loney of Surrey and Synopsis of Pure Mathematics by George Shoobridge Carr of Middlesex which were used in the English educational system. The influence of Loney’s opening pages filled with essential formulae and Carr’s laconic presentations are writ large over the notebooks. It can be inferred that he had obtained many of the results while he was still at school, before the time he started writing them down in his notebooks. For instance, we hear that he had derived for himself the series expansions for trigonometric functions, which he only later learned to be common knowledge – the is said to have then thrown away that early discovery in embarrassment. His first three notebooks were largely completed over a period of six years during his youth in India, with only some entries recorded in the time he was in England. When in England, he mentions that he was only intending to publish his current research, rather than those in the notebooks, until the World War I came to an end. Much of the so called “Lost Notebook” appears to have been written down in the final year of his short but momentous life. Unfortunately, it is believed that several other unpublished works of Ramanujan were entirely lost. Given the time range covered in the notebooks, we do find several elementary results that gives non-mathematicians like us a glimpse into the great man’s mind. We provide below some discussion on a sampler of elementary results from his notebooks. The original entries of Ramanujan discussed in this note can be found in “Ramanujan’s Notebooks, Part I-IV” by Bruce Berndt; here we express them or their corollaries in our own way.
and squaring of a circle
Ramanujan is well-known for his numerous approximations of both in a paper he published on the subject and the various entries in his notebooks. One of those leads to an approximate squaring of the circle that is eminently suitable for a modern śrauta ritualist to construct an āhavanīya that is equal in area to the gārhapatya (Figure 1).
Figure 1. Approximate quadrature of the circle by Ramanujan’s formula
The said construction goes thus:
1. Divide the radius of the circle into 5 equal parts.
2. Extend the radius by 4 of these parts. This gives a segment of length . Use that segment to construct a circle with diameter .
3. Apply the geometric mean theorem on that circle (Figure 1) to obtain a segment of length . Use that to construct a segment of length . With that segment construct a circle of diameter (Figure 1).
4. Apply the geometric mean theorem on that segment to obtain the side of the desired square.
One can see that this construction corresponds to Ramanujan’s approximation: . This is very close to Āryabhaṭa’s approximation: . People have claimed that Āryabhaṭa arrived at his value by using polygons to approximate a circle. There is absolutely no evidence for this claim making one wonder if he had somehow arrived at a formula like that of Ramanujan. It remains unknown to me if Ramanujan had found some special connections relating to this value. The same value is also recommended as a correction to the very approximate Bronze Age values by Dvārakānātha Yajvan, a medieval śrauta ritualist and commentator on the Śulbasūtra of Baudhāyana. This value is somewhat less accurate than another ancient value recorded by Vīrasena and in some Bhāskara-II manuscripts (Ramanujan also provides a construction for the quadrature using that approximation):
vyāsaṃ ṣoḍaśa-guṇitaṃ tri-rūpa-rūpair-bhaktam ।
vyāsaṃ triguṇitaṃ sūkṣmād api tad bhavet sūkṣmam ॥
The relationship between the reciprocals of odd numbers and
defines the alternate odd numbers: 1, 5, 9, 13, 17, 21, 25, 29, 33, 37…
defines the remaining odd numbers absent in the above sequence: 3, 7, 11, 15, 19, 23, 27, 31, 35, 39…
There is an interesting relationship between the reciprocals of these two sets of odd numbers and :
It is an interesting though not very efficient formula for reaching 3.1 after 13 terms. This relationship can be obtained from the general cotangent relationship, which is valid for any number (including the complex plane) that Ramanujan discovered for himself:
Remarkably, Ramanujan records this after a result related to the zeta function, which in turn implies the famous series for the digamma function , i.e., the ratio of the derivative of the gamma function to the gamma function:
Here is Euler’s constant.
, cubes of triangular numbers and
In old India (e.g., Brahmagupta and the Jaina Prajñāpti texts) we find as an approximation for . This is interestingly close to the Egyptian approximation . We can ask the converse question of how close is to 10 (Figure 2). Ramanujan discovered an interesting answer for this.
The triangular numbers, , are the sums of successive integers up to , i.e, : 1, 3, 6, 10… Then,
Reciprocals of the cubes of odd numbers and
The zeta function elicits an almost mystical experience in us — when you realize how it connects what were seen as disparate branches of mathematics you get a sense of the deep order in the Platonic realm. The function was first discovered by Euler in course of solving what was called the Basel problem. It was known (probably since antiquity) that the sum of the reciprocal of integers slowly diverges to :
This can be proved easily with a basic school level mathematics using the comparison test to the reciprocals of the powers of 2 bounding each interval of integer reciprocals (i.e., so on). However, the question of the sum of the reciprocals of the squares of integers defied attempts of brilliant mathematicians, such as the Bernoulli clan (hence, the Basel problem), until it fell to Leonhard Euler in 1734 CE. Thus, the zeta function can be defined as a generalization of such sums for any number on the complex plane:
While Euler originally defined it for positive integers, it was generalized as above by Chebyshev on the real line and then by Bernhard Riemann on the complex plane. Thus, the Basel problem is essentially the value of the zeta function at 2, which Euler proved to be . Euler subsequently established that the reciprocal of gives the probability of two integers drawn at random from the interval between and being mutually prime (i.e., having GCD=1). This suggested the link between the zeta function and primality, and finally, three years after solving the Basel problem Euler showed the explicit link between prime numbers and the zeta function by his product formula:
where the product is over all primes.
From the subsequent work culminating in Riemann’s famous hypothesis, the relationship between the zeros of the zeta function and the prime number distribution became clear. Remarkably, Ramanujan discovered many aspects of the zeta function all by himself unaware of the developments in the west, such as those of Chebyshev and Riemann. Among other things, was his much-ridiculed result, where he provided the sum of integers (1+2+3+4…) as a finite negative number (found in his first notebook and communication with Godfrey H. Hardy) — this was essentially his auto-discovery of the value of . He also discovered for himself the connection between the zeta function and prime numbers. He discovered that the zeta function displays an oscillatory behavior on the negative real line, taking the value 0 at all even negative numbers (-2, -4, -6…). He used these zeros to derive the distribution of primes, paralleling the work of Riemann. However, he overestimated the accuracy of his results for he was unaware of further zeros discovered by Riemann on the complex plane that he only learnt of from Hardy when he went to England. From his notebooks, we learn that during the Indian phase of his career, like Chebyshev, he also explored the values of the zeta function on the real line beyond 2. Thus, Ramanujan discovered a general formula, one of whose special cases is a series specifying that is today sometimes called Apéry’s constant. After the days of Ramanujan, this constant has appeared in several areas of physics.
Now, is also the area under the below curve for positive (Figure 3), thereby giving an alternative integral formula for the sum based on Ramanujan’s formula.
However, Ramanujan’s formula more generally goes on to provide several other series that link the cubes of the reciprocals of numbers separated by 3 (1, 4, 7, 10…), 4 (1, 5, 9, 13…) so on which have the general form , where are constants specific to each sum:
We were puzzled by what might be the sum of the reciprocals of cubes of numbers separated by 5: 1, 6, 11, 16… Taking the limit as of the digamma derivative-based series formula we established that this can be expressed in a rather compact form with the tetragamma function, i.e., the second derivative of :
The Ramanujan primorial plus one fourth sequence
The prime numbers 2, 3, 5, 7, 11… are denoted by . By analogy to the factorial product, one can define the primorial as the product of successive primes:
Ramanujan defines a sequence such that is an odd integer. This holds for the below values of :
It remains unknown to us if there is any further term in this sequence and if there is one, how many more exist?
Elementary results relating to powers of numbers
Ramanujan provides numerous elementary results relating to the sums of the powers of numbers that he likely derived when he was still in school. One of the simplest is the following, which, however, was apparently unknown until his discovery:
if then for :
Thus, it is a parametrization that allows one to find six numbers such that the sum of the squares and the fourth powers respectively of the first 3 is equal to those of the last 3.
With this parametrization, we can obtain the above hexad where the first term is every positive integer; the second term is every odd integer starting with 9; the fourth term is every odd integer starting with 5; the fifth term is every positive integer starting with 6. The third and sixth terms are the sums of the previous two terms. The sum of the squares of the two triads constituting these hexads will be defined by: The sum of the 4th powers is given by .
The next problem in this genre is to find rational solutions to the indeterminate equations:
Ramanujan gives parametrizations to solve such equations: if then,
The equation is quite trivial. For the equation , using Ramanujan’s parametrization one can obtain several sets of tetrads. Below is an example where we take to be successive integers starting from 0 and to be 1 more than :
For this tetrad, one sees that is the sequence of odd numbers. (first column) are the hex numbers, i.e., the centered hexagonal numbers given by the quadratic expression . The sequence defined by also defines the maximum number of bounded areas you can obtain by drawing triangles on a plane: With 1 triangle you can obtain at most 1 bounded area; with 2 you can obtain at most 7 (hexastar); with 3 you obtain 19 and so on. (second column) is the square star numbers (Figure 4), i.e., square numbers with triangular numbers on each side, given by the quadratic expression , while (fourth column) are the square grid numbers given by the expression (Figure 5).
Figure 4. Square star numbers.
Figure 5. Square grid numbers.
Notably, these three columns are also linearities on the hexadic spiral (Figure 6).
Figure 6. The hexadic spiral. The 3 linearities in blue boxes correspond to 3 of the columns in the above parametrization
We can again use Ramanujan’s parametrization for with and as successive integers starting with 0. This yields the below sequence of tetrads:
The sequence corresponding to in this tetrad is specified by . Remarkably, this sequence appears in multiple geometric contexts. One is the Euler (Venn) diagram problem. It is an analog of the problem of the maximum number of bounded areas obtained with triangles. What is the maximum number of bounded compartments you can represent using circles (Figure 7)? The answer is this sequence.
Figure 7. The Euler diagram problem.
A further geometric context relates to the sequence of triangles where one side is , the second side is and the angle between these two sides is . Then the squares on the third sides of this sequence of triangles will have an area equal to the sequence (Figure 8). In this tetrad is the sequence of odd numbers, takes the form and is the same sequence as offset by 1 in the backward direction. This sequence appears in the so-called Monty Hall problem discussed by Martin Gardner many years ago illustrating the difficulty of understanding probability even in simple problems.
Figure 8. The length of the third side of the 60-degree triangle problem.