News for hackers. Stuff that matters.
Re:Galactic Algorithm by namanyayg on Saturday October 05, 2019 @12:44AM (#21163860)
Yeah not sure why it's hyperlinked, it's a rather dull number.
Re:Galactic Algorithm by zaroth on Saturday October 05, 2019 @01:35AM (#21163999)
“But it’s not dull at all,” Ramanujan replies, “it’s actually the first number that can be written as the sum of two cubes, two different ways!”
Re:Galactic Algorithm by tripzilch on Saturday October 05, 2019 @03:53AM (#21164300)
But imagine he had said, "it's the number of dimensions your Fourier transform needs for the fastest way to multiply two numbers" :)

BTW who things the other person was really just baiting Ramanujan to say something like this?

Re:Galactic Algorithm by n4r9 on Saturday October 05, 2019 @04:10AM (#21164341)
The full anecdote as told by Hardy is

> I remember once going to see him when he was ill at Putney. I had ridden in taxi cab number 1729 and remarked that the number seemed to me rather a dull one, and that I hoped it was not an unfavorable omen. “No,” Ramanujan replied, “it is a very interesting number; it is the smallest number expressible as the sum of two cubes in two different ways.

Re:Galactic Algorithm by namanyayg on Saturday October 05, 2019 @05:54AM (#21164682)
Hardy just saw it on a taxi cab and expressed sadness; Ramanujam pointed out the mathematical beauty of the number.

The real question is, did he know of this fact already or did he come up with it on the spot after hearing what Hardy said?

Re:Galactic Algorithm by mkl on Saturday October 05, 2019 @07:58AM (#21165031)
I suspect he knew it already. It kind of stands out as an almost-repeated digit pattern if you look at a table of cubes (in base 10), as the cube sums concerned are 10³+9³ = 1000+729 and 12³+1³ = 1728+1. Showing that it's the smallest such number is not difficult, but would take a bit of thought to come up with on the spot. You can do it by checking a few combinations of terms from your table:

   n   n³
  -------
   1    1
   2    8
   3   27
   4   64
   5  125
   6  216
   7  343
   8  512
   9  729
  10 1000
  11 1331
  12 1728