"I have not trodden through the conventional regular course which is followed in a university course, but I am striking out a new path for myself. "
Srinivasa Ramanujan (1887  1920).
This is what Srinivasa Ramanujan wrote in a letter introducing himself to the famous and esteemed British mathematician G. H. Hardy, in January 1913. Ramanujan was a selftaught mathematician working as a clerk in a post office in India when he wrote to Hardy at the University of Cambridge. What happened next became an inspiring tale of how an untrained genius could become accepted as one of the greatest mathematical minds of his time. Hardy invited Ramanujan to Cambridge, and on March 17, 1914 Ramanujan set sail for England to start one of the most fascinating collaborations in the history of maths.
"Ramanujan is a role model for the possible," says Ken Ono, the Asa Griggs Candler Professor of Mathematics and Computer Science at Emory University and also an advisor and associate producer on the recent film about Ramanujan, The man who knew infinity. "[His story shows] that you can come from impossibly difficult conditions or circumstances and become important. But he needed help, he needed Hardy. And Hardy wasn't the perfect mentor, he was a curmudgeon, he didn't like people. But through his help all of this happened."
When Ramanujan arrived in England he worked with Hardy on a range of mathematical topics. He arrived with little formal training, and had devised his very own way of writing mathematics that other mathematicians had never seen before.
The certificate of Ramanujan's nomination to become a Fellow of the Royal Society. Click here to see a larger image.
"Ramanujan didn't use the notation that everyone else in the world used," says Ono. "When he arrived here in England he knew nothing of modern mathematics. He made mistakes all the time." Ramanujan quickly learned a great deal of formal mathematics at Cambridge and went from an amateur to writing world class mathematics papers. "Very quickly, within the span of a year or two, he was formally trained. He was very smart so he could catch up quickly. The papers he wrote here [in England], by every professional standard, were world class papers. So that is also a testament to how gifted he was."
One of these papers, written with Hardy, astonished the mathematical community as it gave a way to reliably calculate numbers that had eluded mathematicians for centuries – partition numbers. This paper was one of those quoted in his nomination to be elected as a Fellow of the Royals Society, a high honour for any scientist. His nomination was signed by some of the great mathematicians of the day: including J. E. Littlewood, Alfred Whitehead, along with Hardy and many others. Ramanujan was elected a Fellow of the Royal Society on 2 May 1918 at the age of just 30, one of the youngest ever fellows elected. We spoke to Ono about the remarkable mathematical contributions of Ramanujan at the celebration of this centenary at the Royal Society, which he helped to organise (you can listen to a podcast of the interview here).
Partition numbers
The concept of partition numbers is quite straightforward. You can write any natural number as a sum of natural numbers. For example can be written as a sum in three different ways:
The number can be written as a sum in five different ways:
The partition number of a number is precisely the number of ways it can be written as a sum of natural numbers (without worrying about the order in which they are added). As we have just seen, and .
Writing down and counting the number of ways you can write a number as a sum seems easy, but in fact it quickly gets out of hand as gets large. You can probably work out for yourself that and , but go any further than this and you will quickly run out of paper. The table below shows the partition numbers up to which is already surprisingly large.


Looking at the graph of for up to suggests the partition number grows exponentially with .
Partition numbers for n from 1 up 1o 10.
This fact led mathematicians to ask if there was a way of calculating without having to explicitly write down and count up each way of writing as a sum. When studying this question Hardy and Ramanujan worked with the impressive "human calculator" Percy MacMahon who calculated tables of partition numbers for a great many numbers. Although those tables appear without rhyme or reason at first sight, Ramanujan noticed intriguing patterns in them. He spotted, and later proved, that the partition number for , , , ... or for any number of the form is always divisible by Similarly, the partition number for any number of the form is divisible by , and for any number of the form is divisible by . These patterns are now famous as Ramanujan's congruences.
What gained Ramanujan the Royal Society Fellowship was the asymptotic formula for the partition number he found together with Hardy. The formula doesn't give the precise value of , but it comes very close. And as gets larger, the difference between and the asymptotic formula becomes arbitrarily small.
The formula isn  P(n)  w(n)  w(n)/P(n) 

10  42  48.104  1.145 
20  627  692.385  1.104 
50  204226  217590.499  1.065 
80  15796476  16606781.567  1.051 
100  190569292  190569291.996  0.99999999997901 
200  3,972,999,029,388  3,972,999,029,388.004  1.000000000000001 
As you can see, the formula does what we promised. "It holds for all . You can just plug in for and you basically get back the answer," says Ono. "Someone has to be pretty crazy smart to figure out a shortcut so you never had to count."
"At the time [the result] was considered an impenetrable problem. I'm pretty certain that that formula alone formed most of the citation for his election," says Ono. "But make no mistake that formula is now a very small part of what has grown to be [Ramanujan's mathematical] legacy."
Ken Ono.
And the legacy is indeed impressive: Ramanujan's work is today relevant in areas as diverse as computer science, electrical engineering, and physics, as well as, of course, mathematics. "Ramanujan's formulas have offered glimpses of theories that Ramanujan probably wouldn't have been able to articulate himself," says Ono. "Theories that nobody needed — until they needed them. For example [some work on black holes] makes use of some of Ramanujan's mathematics. Nobody even knew that black holes were something to study when Ramanujan was alive. But he had already developed some of the first formulas that would be used to explain their properties. What's astonishing is that Ramanujan has done this for us several dozen times."
"Where does this genius come from? I don't use the word genius very easily, but make no mistake — if you write down formulas that you find beautiful and important for some reason, and nobody knows why those formulas are important until decades later [...] that's something quite spiritual."
Ono is also Head of the Spirit of Ramanujan programme which supports emerging engineers, mathematicians and scientists, particularly those who, like Ramanujan, lack traditional institutional support. You can find put more about the programme here.
About this article
Rachel Thomas is Editor of Plus. She interviewed Ken Ono at the Royal Society's celebration of the centenary of Ramanujan's election as a Fellow of the Royal Society. You can listen to a podcast of the interview here.
Comments
what is your w(n)?
If you w(n) is the right hand side, then your tabulated values are not correct. Please give the full formula for w(n).
Divergence of tabulated values for w(n) for p=100, 200
Perhaps some light can be thrown on this matter from the discussion that took place on Math Stack Exchange in January 2018 (https://math.stackexchange.com/questions/49628/hardyramanujanasymptoti...) and reading the original paper (https://londmathsoc.onlinelibrary.wiley.com/doi/abs/10.1112/plms/s217.1.75) published by G.H. Hardy and S. Ramanujan in 1918?
Divergence of tabulated w(n) values for p=100, 200
Perhaps some light can be thrown on this matter from the discussion that took place on Math Stack Exchange in January 2018 (https://math.stackexchange.com/questions/49628/hardyramanujanasymptoti...) and reading the original paper (https://londmathsoc.onlinelibrary.wiley.com/doi/abs/10.1112/plms/s217.1.75) published by G.H. Hardy and S. Ramanujan in 1918?
Ramanujan
Ramanujan was taught by spirit guides in his sleep. His mother was a devotee of a Hindu goddess. I find those facts to be very inspirational, and I am always annoyed that westerners routinely fail to mention them (as he reported them), as they and he, together, constitute profound hard evidence of the transcendental relationship between humanity and the eternal.
Spirit guides
This is perhaps the most important point to learn about Ramanujan. I'll take inspiration wherever I can get it, of course, but it's interesting where his came from.
Real perspective
I hail from a town closer to Ramanujan and my father's hometown is 30 miles away from Ramanujan hometown. I will give you a perspective of Ramanujan's life growing up you figure out the type of person he is. Imagine a household where father is chasing debtors and mostly non existent in Ramanujan's life. Mother is singing in a temple for a living. Ramanujan could eat only one meal a day from his mother's earnings. He was often at the edge of death due to starvation. He could not afford papers, he often practiced math on a small 2by3 plaid chalkboard and temple walls. Later in life he was accused as a fraud for not providing proofs for his work, what people did not realize is that he did not have money to buy paper to provide elaborate proof. No running water or no electricity. If you dont believe me take a look at this picture, https://www.imsc.res.in/~rao/ramanujan/newnow/museumhouse.htm
Yet, inspite of all these odds he produced great results in the field of Mathematics.
Today, students proving Ramanujan's conjectures are awarded Fields medal but it is just disgusting how privileged white people still wont give him due credit.
Proof of Ramanujam's Partition Formula
I would very much like to get hold of a formal proof of Ramanujam's partition formula. Why is it imprecise for small numbers and becomes very accurate for large n?
I would be grateful if u could mail me the proof at
kaushik.mukherjee.km@gmail.com
Thanks and Regards
Kaushik Mukherjee