Srinivasa Ramanujan and the Magical Number 1729

Scientist Story Series

Srinivasa Ramanujan and the Magical Number 1729

A taxi ride, a number that looked ordinary, and a brilliant mathematical observation that turned 1729 into one of the most famous numbers in history.

Portrait of Indian mathematician Srinivasa Ramanujan
Portrait of Srinivasa Ramanujan. Public-domain image via Wikimedia Commons.
Meet the mathematician

Who was Srinivasa Ramanujan?

Srinivasa Ramanujan was an Indian mathematical genius whose ideas changed number theory, infinite series, continued fractions and the study of partitions. He was born in 1887 in Erode, in present-day Tamil Nadu, and grew up in Kumbakonam. Much of his advanced mathematical learning came from intense self-study.

Ramanujan often saw patterns that other people did not notice. Pages of his notebooks were filled with formulas and identities, many written with little explanation. Some results were already known, some needed correction, and many were completely original. Mathematicians are still studying ideas connected with his work.

1887

Born in India

Ramanujan was born on 22 December 1887.

1913

A life-changing letter

He sent G. H. Hardy a letter containing remarkable mathematical results.

1918

Royal Society

He was elected a Fellow of the Royal Society.

32

A brief life

He died young, but his mathematical legacy became enormous.

A famous mathematical moment

The taxi that carried the number 1729

While Ramanujan was ill in England, the British mathematician G. H. Hardy went to visit him. Hardy had travelled in a taxi numbered 1729. During their conversation, Hardy commented that the number seemed rather dull.

Ramanujan immediately disagreed. To him, 1729 was not ordinary at all. He recognised a beautiful property hidden inside it.

It is a very interesting number. It is the smallest number expressible as the sum of two positive cubes in two different ways.

This short exchange became one of the best-known stories in mathematics. It shows how naturally Ramanujan could notice deep number patterns, even during an ordinary conversation.

Advertisement
Open the number

Why is 1729 so special?

A cube is made by multiplying a number by itself three times. For example, 3 cubed is 3 multiplied by 3 multiplied by 3, which equals 27.

1729 = 13 + 123 = 93 + 103

First cube path

13 = 1 123 = 1728 1 + 1728 = 1729

Second cube path

93 = 729 103 = 1000 729 + 1000 = 1729

Interactive 1729 verifier

Choose a button to reveal one route to 1729, or verify both routes together.

Select a route to begin.

Taxicab(2)

In standard notation, 1729 is Taxicab(2), the smallest positive integer that is a sum of two positive cubes in two distinct ways.

Three prime factors

Another neat pattern is 1729 = 7 multiplied by 13 multiplied by 19.

A digit-sum surprise

The digits add to 19, and 1729 divided by 19 equals 91.

Experiment with numbers

Interactive cube-sum laboratory

Enter any two whole numbers from 0 to 100. The lab will cube them, add the results and show the complete calculation.

1 cubed + 12 cubed = 1 + 1728 = 1729

Number challenge

Can you find another number that can be written as a sum of two positive cubes in two different ways?

Hint: try the pairs 2 and 16, then 9 and 15.

Reveal the answer

4104 works:

23 + 163 = 8 + 4096 = 4104

93 + 153 = 729 + 3375 = 4104

From Kumbakonam to Cambridge

A short life filled with extraordinary mathematics

Ramanujan's journey was not simple. His intense focus on mathematics affected his progress in other school subjects, and he did not follow the usual university path. Yet his notebooks eventually reached people who recognised that his talent was exceptional.

1887

Birth and childhood

Ramanujan was born in Erode and grew up mainly in Kumbakonam, where he developed a powerful fascination with numbers.

1912

Work at the Madras Port Trust

He worked as a clerk while continuing his mathematical research in his spare time.

1913

The letter to G. H. Hardy

Ramanujan sent pages of formulas to Hardy at Cambridge. Hardy realised that the letter contained work of unusual depth.

1914

Cambridge

Ramanujan travelled to England and began a productive mathematical collaboration with Hardy.

1918

International recognition

He became a Fellow of the Royal Society and a Fellow of Trinity College, Cambridge.

1919 to 1920

Return to India and lasting legacy

Ramanujan returned to India in poor health and died in 1920. His notebooks continued to inspire generations of mathematicians.

Beyond one famous number

Ramanujan's wider mathematical contributions

The story of 1729 is memorable, but it represents only a tiny part of Ramanujan's work. His research reached across several difficult areas of pure mathematics.

Number theory

He discovered striking relationships involving integers, divisors, primes and modular forms.

Partitions

He worked on ways of expressing a whole number as a sum of positive integers and developed powerful formulas with Hardy.

Infinite series

Some of his series produced remarkably fast ways of calculating values connected with pi.

Continued fractions

He found elegant and unexpected identities involving fractions that continue without ending.

Mock theta functions

Near the end of his life, he introduced mysterious functions that later became important in modern mathematics.

Mathematical intuition

His ability to recognise patterns helped open new paths that later mathematicians made rigorous.

Number theory Partitions Infinite series Continued fractions Modular forms Mock theta functions
What students can learn

The real magic was not the number alone

Ramanujan's response to Hardy teaches an important lesson: a number may look ordinary until someone asks a better question about it. Mathematics is not only about following rules. It is also about noticing patterns, testing ideas and remaining curious.

Look carefully

Interesting structures can hide inside familiar numbers and everyday situations.

Explore more than one method

1729 reaches the same total through two different cube paths.

Stay curious

A curious mind can turn a taxi number into a mathematical story remembered for generations.

Test your memory

Quick Ramanujan and 1729 quiz

Select one answer for each question. Your result will appear immediately.

1. What makes 1729 famous?

2. Which mathematician visited Ramanujan in the famous taxi story?

3. Which equation is correct?

Frequently asked questions

FAQs about Srinivasa Ramanujan and 1729

Why is 1729 called the Hardy-Ramanujan number?
It is linked to the famous conversation in which G. H. Hardy mentioned taxi number 1729 and Ramanujan explained its unusual cube-sum property.
What is the special property of 1729?
It is the smallest positive integer that can be written as the sum of two positive cubes in two distinct ways: 1 cubed plus 12 cubed, and 9 cubed plus 10 cubed.
Is 1729 the first taxicab number?
In standard notation, 1729 is Taxicab(2). It is often described as the first non-trivial taxicab number because it is the smallest number with two distinct positive cube-sum representations.
Who was Srinivasa Ramanujan?
He was an Indian mathematician known for extraordinary discoveries in number theory, partitions, infinite series, continued fractions and related fields.
When was Srinivasa Ramanujan born?
He was born on 22 December 1887 in Erode, in present-day Tamil Nadu, India.
What can students learn from the 1729 story?
The story encourages students to look for hidden patterns, explore different methods and remain curious about numbers that may first appear ordinary.
Further reading

Sources and image credit

Concept by Teacher Ritu, designed by Shaleen Shekhar.
Published in the Scientist Story Series on Speed Up Science.
Shaleen Shekhar

I'm curious about how things work and obsessed with making complex ideas simple. Whether it's science, AI, technology, or digital marketing, I enjoy exploring, creating, and sharing knowledge that actually helps people. Always learning, always building, and always looking for the next big idea.

Post a Comment

Previous Post Next Post