News for hackers. Stuff that matters.
Re:Ramanujan Factorial Approximation (2012) by personjerry on Thursday September 08, 2022 @05:07PM (#32772098)
How did he come up with it?
Re:Ramanujan Factorial Approximation (2012) by vouaobrasil on Thursday September 08, 2022 @05:44PM (#32772490)
Ramanujan had a miraculous facility for just seeing expressions without much formal derivation. He worked with the British mathematician G.H. Hardy and it is clear from Hardy's description and Ramanujan's biography that Ramanujan did not have much insight into his own process or following clearly defined steps. He must have thus had a very natural insight into number theory that was mostly instinctual.
Re:Ramanujan Factorial Approximation (2012) by Kranar on Thursday September 08, 2022 @11:19PM (#32774906)
I think that's part of the myth of Ramanujan, that he could just see these things and pull them seemingly out of thin air, and in fact Ramanujan himself has said that math comes to him in visions from a Hindu goddess, but a closer inspection demystifies a lot of this.

What's true is that Ramanujan spent an absolute significant amount of time working on math problems of all kinds, and the vast majority of his work was simply incorrect. In fact one thing Hardy appreciated and found most extraordinary about Ramanujan was not what Ramanujan managed to get right, but the ways in which he managed to get things wrong since that kind of revealed some unique insight into how Ramanujan went about solving problems.

Of course that is never what is showcased about him, instead we get infamous stories such as how Ramanujan seemingly figured out in a matter of seconds that the number 1729 is the smallest number expressible as the sum of two cubes in two different ways. What the story leaves out is that Ramanujan did not just figure this out on the fly but had been working on trying to prove Fermat's Last Theorem for years and as part of that work he had come across the number 1729 since it's related to elliptic curves (the basis of which would eventually lead to a proof of Fermat's Last Theorem).

At any rate, none of this is intended to diminish Ramanujan in any way, on the contrary my hope is to celebrate the very hard work and dedication that Ramanujan put towards mathematics. He is not someone who just divined correct solutions to complex math problems out of thin air but instead he spent countless hours for decades on end devoted to his passion and persevered through much trial and error. The only things we see of his work are the things he got right, and to that end it may seem like his accomplishments are magic; the truth is that they were anything but.

Re:Ramanujan Factorial Approximation (2012) by qart on Friday September 09, 2022 @01:23AM (#32775609)
> the vast majority of his work was simply incorrect

I had heard this before, and I believed it. But I got convinced that that's not true by the likes of George E. Andrews and Ken Ono. They say that most of his work is correct. All of this is still hearsay as far as I'm concerned. I'm not qualified to verify his math.

Re:Ramanujan Factorial Approximation (2012) by Karellen on Friday September 09, 2022 @07:06AM (#32777761)
> had been working on trying to prove Fermat's Last Theorem for years and as part of that work he had come across the number 1729 since it's related to elliptic curves (the basis of which would eventually lead to a proof of Fermat's Last Theorem).

I thought it wasn't that 1729 was related to elliptic curves and the proof, but that it was a "near-miss" candidate in a search for finding a counterexample in order to disprove the theorem. And 9³ + 10³ = 12³ + 1 = 1729 was the smallest of many of these near-miss candidates that Ramanujan had found.

Was that not right?

Re:Ramanujan Factorial Approximation (2012) by kumarm on Thursday September 08, 2022 @11:28PM (#32774968)
Thank you for one most rational explanation I have ever seen about Ramanujan's work.
Re:Ramanujan Factorial Approximation (2012) by rajeevk on Friday September 09, 2022 @07:47AM (#32778009)
> the vast majority of his work was simply incorrect

My impression is just opposite. Do you have any reference proving that vast majority of his work was simply incorrect.

Re:Ramanujan Factorial Approximation (2012) by belter on Friday September 09, 2022 @11:48AM (#32780677)
It seems the consensus of the Mathematical Community, is that he did very few.

"What did Ramanujan get wrong?" - https://mathoverflow.net/questions/288410/what-did-ramanujan...

"An Overview of Ramanujan's Notebooks" - https://faculty.math.illinois.edu/~berndt/articles/aachen.pd...

Re:Ramanujan Factorial Approximation (2012) by steppi on Thursday September 08, 2022 @07:41PM (#32773529)
Early the following year, K. S. Srinivasan, a student at Madras Christian College who'd known Ramanujan back in Kumbakonam, dropped by to see him at Summer House. "Ramanujan," he said, "they call you a genius." Hardly a genius, replied Ramanujan, "Look at my elbow. That will tell you the story." It was rough, dirty, and black. Working from his large slate, he found the quick flip between writing hand and erasing elbow a lot faster, when he was caught up in the throes of his work, than reaching for a rag. "My elbow is making a genius of me," he said. Why, Srinivasan asked, didn't he just use paper? Can't afford it, replied Ramanujan. He was getting money from Ramachandra Rao. But that only went so far. Paper? He'd need four reams of it a month.

From Robert Kanigel's The Man Who Knew Infinity [0].

My understanding is that Ramanujan did most of his derivations on slate and tended to preserve only the results on paper. His insight was tremendous, but it was backed up by a tremendous amount of elbow work.

[0] https://en.wikipedia.org/wiki/The_Man_Who_Knew_Infinity_(boo...

Re:Ramanujan Factorial Approximation (2012) by UpstandingUser on Thursday September 08, 2022 @08:38PM (#32773945)
This is one of the big tragedies of Ramanujan. We have all these miraculous mathematics from him but we don't really know how he got there. A lot of this stuff we already knew, but he seems to have found it all out independently. No idea how though, all because he was too poor to buy paper. Jeez.
Re:Ramanujan Factorial Approximation (2012) by nerdponx on Thursday September 08, 2022 @09:37PM (#32774299)
I had no idea he did all his work on a big slate. His working memory must have been astoundingly good.
Re:Ramanujan Factorial Approximation (2012) by tshanmu on Friday September 09, 2022 @04:24AM (#32776746)
Maybe thats what made him what he was - working in an ephemeral medium forcing his working memory to adapt in ways that are conducive to doing mathematics?

For a comparison on the other end our spatial memory structures in the brain have changed since widespread use of gps/mapping apps, apparently.

Re:Ramanujan Factorial Approximation (2012) by linspace on Friday September 09, 2022 @05:36AM (#32777250)
Short term memory is very important for problem solving. Euler continued to work and publish mathematics after becoming blind
Re:Ramanujan Factorial Approximation (2012) by EpiMath on Thursday September 08, 2022 @05:57PM (#32772601)
There was a paper a few years ago in the American Mathematical Monthly ( sorry... can't remember the author, I think it was a Russian mathematician ) that gave some interesting heuristics for why this form is natural to consider, where the 1/30 comes from ( and considerations of a couple of alternatives to the "30" ), and the kind of intuition/thinking that Ramanujan may have used. When you only see the final form of the equation like this, it looks very mysterious and impossible that someone could find it ( and to be fair, there are other results from Ramanujan that are definitely in that class! ). Probably a google search could find the paper, it was delightful to read.
Re:Ramanujan Factorial Approximation (2012) by version_five on Thursday September 08, 2022 @05:35PM (#32772402)
I don't know, other than he was very smart. But a potential way that the article hints at is that the factorial is related to the gamma function which I believe is the solution to a differential equation... and so there may be some insight to be had in looking at the relevant differential equation and trying to approximate its solution.

Edit after googling: the gamma function not the solution to a differential equation, in fact there is a proof that it cant be [*] but it's formulated as an integral, whose approximation could lead to odd looking equations like the one in the article

https://en.m.wikipedia.org/wiki/H%C3%B6lder%27s_theorem

Re:Ramanujan Factorial Approximation (2012) by rq1 on Thursday September 08, 2022 @06:33PM (#32772918)
Algebraic differential equation*