Happy National Mathematics Day! To every student, teacher, puzzle lover and anyone who has ever enjoyed a clever number trick: this day is for you. India celebrates it every year on December 22, the birthday of Srinivasa Ramanujan, who was born on that date in 1887. In 2026 it falls on Tuesday, December 22, his 139th birthday.
Know someone who loves math, or a student who could use a little inspiration? Share this page with them. Ramanujan's story is one of the best reasons to fall in love with numbers.
Why is December 22 National Mathematics Day in India?
National Mathematics Day honors Ramanujan's birthday. Prime Minister Manmohan Singh announced it in a speech in Chennai on December 26, 2011, at the celebrations for the 125th anniversary of Ramanujan's birth. In the same speech he declared 2012 India's National Mathematical Year.
Since then, schools and universities across India have marked December 22 with math events, quizzes and lessons.
Who was Srinivasa Ramanujan?
Srinivasa Ramanujan was an Indian mathematician born on December 22, 1887, in Erode, in what is now the state of Tamil Nadu. He went to school in the town of Kumbakonam and had almost no formal training in advanced math.
Until he was 16, he had never seen a higher-level math book. Then a friend borrowed for him a copy of G. S. Carr's A Synopsis of Elementary Results in Pure and Applied Mathematics from a college library in Kumbakonam. In the words of the Cambridge mathematician G. H. Hardy, it was the book that "first aroused Ramanujan's full powers."
What was the 1913 letter to G. H. Hardy?
In January 1913, Ramanujan wrote from India to Hardy, a leading mathematician at Trinity College, Cambridge, and included pages of his results. Hardy replied on February 8, 1913.
Hardy sorted the results into three groups: already known, new but mainly curious, and new and important. In 1914 Ramanujan came to Cambridge, and he moved into rooms at Trinity College on April 30.
How did Ramanujan rise at Cambridge?
Ramanujan received a Bachelor of Arts by Research from Cambridge in March 1916. On May 2, 1918, at age 30, his election as a Fellow of the Royal Society was confirmed. In October 1918 he became the first Indian elected a Fellow of Trinity College.
He fell ill in 1917 and spent long spells in nursing homes, but he kept working. He sailed back to India on February 27, 1919, and died on April 26, 1920, aged 32.
What is the 1729 taxicab story?
The number 1729 is famous because Ramanujan saw something special in it right away. Hardy wrote in his 1940 book Ramanujan that he went to visit his friend, who was ill, and "had ridden in taxi-cab No. 1729, and remarked that the number seemed to me rather a dull one."
Ramanujan's reply, as Hardy gave it:
"No," he replied, "it is a very interesting number; it is the smallest number expressible as a sum of two cubes in two different ways."
A cube is a number multiplied by itself twice, so 103 means 10 × 10 × 10, or 1,000. Here are the two ways to make 1729:
| First way | Second way |
|---|---|
| 13 + 123 = 1 + 1,728 = 1,729 | 93 + 103 = 729 + 1,000 = 1,729 |
Numbers like this are now called taxicab numbers, and 1729 is also known as the Hardy-Ramanujan number. Try it on a calculator and see for yourself.
What are Ramanujan's notebooks?
Between 1903 and 1914, Ramanujan wrote most of his discoveries in notebooks, nearly all without proofs. His three notebooks hold almost 3,000 theorems.
Because so few came with explanations, later mathematicians had to prove them one by one. The American mathematician Bruce Berndt edited the notebooks in a five-part series published from 1985 to 1998.
What is the "lost notebook"?
The "lost notebook" is a bundle of Ramanujan's pages that the American mathematician George Andrews found in spring 1976 in the library of Trinity College, Cambridge. It was among the papers of the mathematician G. N. Watson: a sheaf of 138 pages in Ramanujan's handwriting.
Much of it is about mock theta functions, which Ramanujan worked on in the last year of his life. Andrews and Berndt published proofs of its results in five volumes, the first in 2005 and the last in 2018.
How is Ramanujan's work used today?
Ramanujan's ideas are still active research. Two examples show how far they reach.
Counting partitions
A partition of a number is a way of writing it as a sum of whole numbers, in any order. The number 4 has exactly 5 partitions: 4, 3 + 1, 2 + 2, 2 + 1 + 1 and 1 + 1 + 1 + 1.
The number of partitions grows very fast; the number 100 has 190,569,292. In a joint paper, Hardy and Ramanujan gave a formula that estimates how many partitions any number has, and the mathematician Hans Rademacher later proved an exact version of it. Ramanujan also spotted patterns: whenever a number ends in 4 or 9, its number of partitions can be divided evenly by 5.
Mock theta functions and black holes
In 2012, physicists Atish Dabholkar and Sameer Murthy and mathematician Don Zagier showed that a family of functions that includes Ramanujan's mock theta functions helps count the quantum states of certain black holes in string theory.
What is the film The Man Who Knew Infinity about?
The Man Who Knew Infinity is a 2015 film about Ramanujan and his work with Hardy at Cambridge. Dev Patel plays Ramanujan and Jeremy Irons plays Hardy. Matthew Brown wrote and directed it, based on Robert Kanigel's 1991 book of the same name.
It makes a fine pick for a National Mathematics Day movie night. Happy National Mathematics Day, and don't forget to share 1729 with a friend!





