Skip to content

National Mathematics Day 2026: Ramanujan's Story and Number 1729

Happy National Mathematics Day! On December 22, India honors Srinivasa Ramanujan, the self-taught genius whose letters amazed Cambridge. Here's his story and why 1729 is special.

Black-and-white portrait of Srinivasa Ramanujan, a young man with dark swept-back hair, a dark jacket and open-collar shirt
Image: Photo: Trinity College Library, Cambridge (Add.Ms.a.94.7) / CC BY 4.0

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 waySecond way
13 + 123 = 1 + 1,728 = 1,72993 + 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!

Key facts

Date
December 22 every year (Tuesday, December 22 in 2026)
Announced
December 26, 2011, by Prime Minister Manmohan Singh in Chennai
Ramanujan born
December 22, 1887, in Erode, India
Royal Society
election confirmed May 2, 1918, at age 30
Trinity College
first Indian elected a Fellow, October 1918
1729
1³ + 12³ and 9³ + 10³
Notebooks
three, with almost 3,000 theorems
Lost notebook
138 pages, found in spring 1976 by George Andrews

Questions people ask

When is National Mathematics Day in 2026?

National Mathematics Day is Tuesday, December 22, 2026. India observes it every year on that date, Srinivasa Ramanujan's birthday.

Who declared December 22 National Mathematics Day?

Prime Minister Manmohan Singh announced it in Chennai on December 26, 2011, during the 125th birth anniversary celebrations for Ramanujan. He also named 2012 the National Mathematical Year.

Why is 1729 special?

1729 is the smallest number that can be written as the sum of two cubes in two different ways: 1³ + 12³ and 9³ + 10³. Ramanujan pointed this out to Hardy, who had called the number a dull one.

How many results did Ramanujan leave?

His three notebooks hold almost 3,000 theorems, nearly all without proofs. A "lost notebook" of 138 pages, found in 1976, adds many more.

Who played Ramanujan in the movie?

Dev Patel plays Srinivasa Ramanujan in The Man Who Knew Infinity (2015), with Jeremy Irons as G. H. Hardy.

Sources

  1. PM's speech at the 125th Birth Anniversary Celebrations of Ramanujan at Chennai (Prime Minister's Office archive, Dec 26, 2011) · archivepmo.nic.in
  2. Ramanujan: Twelve Lectures (G. H. Hardy, Cambridge University Press, 1940; full text at Internet Archive) · archive.org
  3. Srinivasa Ramanujan (MacTutor History of Mathematics, University of St Andrews) · mathshistory.st-andrews.ac.uk
  4. Ramanujan's Notebooks: Part I (Springer, 1985) · link.springer.com
  5. Ramanujan's Notebooks: Part V (Springer, 1998) · link.springer.com
  6. Ramanujan's Lost Notebook: Part I (Springer, 2005) · link.springer.com
  7. Ramanujan's Lost Notebook: Part V (Springer, 2018) · link.springer.com
  8. Quantum Black Holes, Wall Crossing, and Mock Modular Forms (arXiv) · arxiv.org
  9. Partition (number theory) (Wikipedia) · en.wikipedia.org
  10. The Man Who Knew Infinity (film) (Wikipedia) · en.wikipedia.org

More in Science & Tech

All 44 articles

Why Is the Moon Slowly Moving Away From Earth?

The Moon is moving away from Earth by about 3.8 centimetres a year. Tidal bulges raised in Earth’s oceans transfer energy from the planet’s spin to the Moon’s orbit.

Can You Hear the Northern Lights? Myth or Fact

Some sounds associated with auroras have been recorded, with sources located about 70–75 metres above the ground. The proposed explanation is still a hypothesis, not a settled answer for every sound people report.