Ramanujan & Python

Paul Rubin http
Mon Sep 6 18:06:00 EDT 2004


Istvan Albert <ialbert at mailblocks.com> writes:
> 1**3 is 1, all he needed to know is that 12**3 is  1728
> Similarly knowing that 10**3 is 1000 is trivial, all he
> needed to know is that 9**3 is 729.
> 
> Just as with squared values whenever one works with cubes
> they will tune very quickly in and start recognize the first
> 20 or so by heart in a  matter of minutes...

There's another part to the question.  Is there a smaller number than
1729, that's also the sum of two cubes in two distinct ways?  Ramanujan
could answer that second question immediately.  Can you?



More information about the Python-list mailing list