Contributions of Srinivasa Ramanujan to the Number Theory
“An equation for me has no meaning, unless it expresses a thought of God.”
L. Littlewood described Ramanujan with the words `Every positive integer is one of his personal friends.’ The expression amply describes the heights in the realm of numbers to which Ramanujan rose. Here are few contributions made by Ramanujan to the number theory.
As a young student, Srinivasa Ramanujan was interested in magic squares. The simplest magic square problem is to fill up the cells in a square with 3 rows and 3 columns with the numbers 1; 2, 3, …….. , 9 such that each row sum = each column sum = each diagonal sum. One can find the following solution:
In this magic square, each row sum = each column sum = each diagonal sum = 15. This magic square requires an understanding of how 15 can be written as a sum of 3 non-repeated numbers. One can think of magic squares of types 4 × 4, 5 × 5……..: Ramanujan gave the following formula for a general magic square of type 3 ×3:
Where A, B, C (respectively P, Q, R) are integers in arithmetic progression. The following formula was also provided by him.
Theory of Partitions
The magic squares form the nucleus of the theory of partitions developed by Srinivasa Ramanujan. His fascination for magic squares led him in his later life to work on this theory. Let us consider the partitions of a natural number. Let p(n) denote the partition function n, defined as the number of ways of expressing n as a sum of natural numbers ≤ n.
For example, 1 has the partition 1; 2 have the partitions 2, 1+1; 3 has the partitions 3, 2+1, 1+1+1, and so on. As n increases, p(n) becomes larger and larger. For example, 6 has the partitions 6, 5+1, 4+2, 4+1+1, 3+3, 3+2+1, 3+1+1+1, 2+2+2, 2+2+1+1, 2+1+1+1+1, 1+1+1+1+1+1.
The following table provides the values of p(n) for n = 1, 2,……, 20 .
Denoting the number of partitions of n with parts ≤ m by pm(n) we have the recurrence relation pm(n) = pm-1(n) + pm( n –m ) (1 < m ≤ n). About the partitions of a natural number, G. H. Hardy and E. M. Wright remarked in , “in spite of the simplicity of the definition of p(n), not very much is known about its arithmetic properties”. Under this back ground, it is worthwhile to consider the contributions of Ramanujan.
Three papers by Ramanujan on the theory of partitions were published in the years 1919, 1920 and 1921.
When m is 0 or a natural number, Ramanujan obtained the following congruences: p(5m + 4) ≡ 0 (mod 5), p(7m + 5) ≡ 0 (mod 7), p(11m + 6) ≡ 0 (mod 11). Regarding the contribution of Ramanujan to the theory of partitions, G. H. Hardy and E. M. Wright wrote “The simplest arithmetic properties were found by Ramanujan. Examining Mac Mahon’s table of p(n); he was first led to conjecture and then to prove, three striking arithmetic properties associated with the moduli 5, 7 and 11 “. To illustrate the results of Ramanujan, the values of p(n) for n ≡ 4 (mod 5), 5 (mod 7), 6 (mod 11) are provided in tables 2, 3, 4, respectively.
n a natural number is said to be composite if it has a divisor different from 1 and itself. Ramanujan raised an interesting question: If n is a composite number, what makes it a highly composite one? For this purpose, he considered the number of distinct positive divisors of n denoted by d(n).
Definition: Highly composite number (Srinivasa Ramanujan )
A natural number n is a highly composite number if d(m) < d(n) for all m < n.
When one considers the primes and composite numbers in Z, 1 is a unit element and 2 is a prime. However, both of them become highly composite numbers as per the definition of Ramanujan. The first few highly composite numbers and the number of their distinct positive divisors are enumerated in the following table.
One of the highly composite numbers calculated by Ramanujan is 6 7 4 6 3 2 8 3 8 8 8 0 0.
This number has 13 digits and its prime factorization is 26. 34. 52. 72. 11. 13. 17. 19. 23.
Theorem: Form of a highly composite number (Ramanujan )
If n = 2a13a25a3……Pap is highly composite number, then a1 ≥ a2 ≥ a3 ≥…….≥ ap and ap = 1 except for n = 4 and 36.
It is to be noted that 4 = 22 and 36 = 22. 32
Theorem: Successive highly composite numbers are asymptotically equivalent.
Srinivasa Ramanujan published a paper on highly composite numbers in 1915. He was awarded B. A. Degree by research by Cambridge University in 1916 for his dissertation titled `Highly composite numbers’ and his advisors were G. H. Hardy and J. E. Littlewood.
Formulae for π:
For the transcendental number π Ramanujan has given several formulae. Some of them are listed below:
π= 24 tan-1 1/8 + 8 tan-1 1/57+4 tan-11/239
π ≈ 63/15. 17+15√15/7+15√15
Algebraic equations requiring solutions in integers are called Diophantine equations. They are named after the mathematician of Alexandria, Diophantus. For Diophantine equations, one may refer to L. J. Mordell. Let us briefly see the contributions of Srinivasa Ramanujan to Diophantine equations.
The number 1729 has acquired a special status in mathematics. It is referred to as Ramanujan number. There is a famous anecdote about this number. Srinivasa Ramanujan made a statement to G. H. Hardy that 1729 is the smallest number that can be expressed as a sum of two cubes in two different ways. We have the two expressions 1729 = 93 + 103 and 1729 = 13 + 123. Thus 1729 is the smallest integral solution of the equation A3 + B3 = C3+ D3.
Ramanujan gave the general solution of this equation as
( a + x2y)3 + ( xβ + y )3 = ( Xa + y )3 + ( β + X2Y)3 where a2 + aβ + β2 = 3XY2.
The Diophantine equation: X3+Y3+Z3 = W3
Ramanujan found out the following parametric solution to the Diophantine equation X3+Y3+Z3 = W3
X = 3a2 + 5ab – 5b2
Y = 4a2 – 4ab + 6b2
Z = 5a2 – 5ab – 3b2
W = 6a2 – 4ab +4b2
Srinivasa Ramanujan considered the Diophantine equation xy = yz. One can observe the symmetry of this equation in x and y. Ramanujan proved that this equation has only one integral equation i.e., x = 4 and y = 2 and there are an infinite number of rational solutions.
The Diophantine equation X2 + 7 = 2n is called Ramanujan’s equation. He gave the solutions 12 + 7 = 23, 32+ 7 = 24, 52 + 7 = 25, 112+7= 27, 1812 + 7 = 215 and conjectured that the above equation has no other integral solution. This equation remained unsolved until 1948.Working in the quadratic number field Q (√ – 7). T. Nagell proved Ramanujan’s conjecture in 1948. He published the English version of this paper in 1961.
Ramanujan’s equation has a bearing on triangular numbers and Mersenne numbers. A triangular number has the form m (m + 1) / 2. Numbers of the form 2k – 1 are known as Mersenne numbers.
The Utility of Ramanujan’s Equation
Ramanujan’s equation finds applications in coding theory. One may refer to the papers by H. S. Shapiro and L. D. Slotnick, R. Alter and E. L. Cohen. Several results pertaining to the generalization of Ramanujan’s equation have been described by E. L. Cohen and the author.
 R. Alter, On a Diophantine equation related to perfect codes, Mathematics of
Computation, 25 (115), 621-624, 1971.
 B. C. Berndt, Y. S. Choi and S. Y. Kang, The problems submitted by Ramanujan to
Indian Mathematical Society, Contemporary Mathematics, 236, 215-256, 1999.
 E. L. Cohen, Sur l’ equation Diophantine x2 + 11 = 3k; C. R. Acad. Sci. Paris Ser. A,
275, 5-7, 1972.
 E. L. Cohen, On the Ramanujan-Nagell equation and its generalizations in Number
Theory: Proceedings of the First Conference of the Canadian Number Theory
Association, 81-92, 1990.
 G. H. Hardy and E. M. Wright, An Introduction to the Theory of Numbers, Oxford
Clarendon Press, Fourth Edition, Oxford, 1960.
 R. Kanigel, The man who knew infinity, A life of the genius Ramanujan, Washington
Square Press, Washington, 1992.
 L. J. Mordell, Diophantine Equations, Academic Press, London, 1969.
 T. Nagell, Losning till oppgave nr 2, 1943, Norsk Mathematisk Tidsskrift, 30, 62-64,
 T. Nagell, The Diophantine equation x2 + 7 = 2n; Arkiv for Mathematik, 4, 185-187,1961.
 S. Ramanujan, Highly composite numbers, Proc. London Math. Soc., 14, 347-409, 1915.
 S. Ramanujan, Question 464, The Journal of Indian Mathematical Society, 5, 120, 1919.
 S. Ramanujan, Collected papers of Ramanujan, Cambridge University Press, Cambridge,
 S. Ramanujan, Collected papers, Cambridge Chelsea Publishing Co., New York, 1962.
 S. Ramanujan, Collected Papers of Srinivasa Ramanujan, (Ed. G. H. Hardy, P. V. S.
Aiyar, and B. M. Wilson). Amer. Math. Soc., Providence, Rhode Island, 2000.
 A. M. S. Ramasamy, Ramanujan’s equation, Journal of Ramanujan Mathematical Society,
7 (2), 133-153, 1992.
 H. S. Shapiro and L. D. Slotnick, On the Mathematical theory of error correcting codes,
IBM Journal of Research and Development, 3 (1), 25-34, 1959.
I owe my gratitude to Manoshi Mam, Mohit Sir and Bandana Mam for their immense support.
Featured image courtesy: Embibe and Wikipedia.
Disclaimer: The research done are solely pertaining to the author. My India My Glory does not assume any responsibility for the validity or information shared in this article by the author.