A Random Walk Through Idea Space: mathematicsPosts tagged with mathematicshttp://www.thattommyhall.com2007-11-15T19:00:41+00:00thattommyhallTommys Projecthttp://www.thattommyhall.com/2007/11/15/tommys-project/2007-11-15T19:00:41+00:002016-06-05T02:27:23+01:00thattommyhallI posted last time about TeXmacs and remembered the plugins for using it to display output from some of the superb free maths packages (which sometimes lack a nice display).
The one I am excited about most is for SAGE. SAGE is written in python and leveragesInfinite Prime Number Generator In Pythonhttp://www.thattommyhall.com/2010/10/18/prime-gen/2010-10-18T13:50:35+01:002016-06-05T02:27:23+01:00thattommyhallI was looking at this article (The Genuine Sieve of Eratosthenes / PDF) about a common functional prime number generator that is mistakenly called the Sieve of Eratosthenes.
It is quite complicated, section 2 deals with the performance of the naive algorithmYou know you're a maths geek when..http://www.thattommyhall.com/2007/11/21/you-know-youre-a-maths-geek-when/2007-11-21T14:00:11+00:002016-06-05T02:27:23+01:00thattommyhallYou are singing the song that goes “I got love for you if you were born in the 80s” and your girlfriend (who was born in 1979) says “what, no love for me?” and you reply “actually what I said does not imply that at all, you cant just negate both sidesProject Euler 39 http://www.thattommyhall.com/2008/04/12/project-euler-39/2008-04-12T19:49:57+01:002016-06-05T02:27:23+01:00thattommyhallIf p is the perimeter of a right angle triangle with integral length
sides, {a,b,c}, there are exactly three solutions for p = 120.
{20,48,52}, {24,45,51}, {30,40,50}
For which value of p < 1000, is the number of solutions maximised?
You may rememberPointless Testinghttp://www.thattommyhall.com/2007/11/13/pointless-testing/2007-11-13T13:48:22+00:002016-06-05T02:27:23+01:00thattommyhallUsually I am in favour of testing, when people say “weighing a cow does not make it any heavier” I reply that if you measure nothing, you will never see any improvements. Usually people can come up with cogent arguments against the particular things examinedYou Know You Are A Maths Geek When...http://www.thattommyhall.com/2008/02/22/you-know-you-are-a-maths-geek-when/2008-02-22T00:57:27+00:002016-06-05T02:27:23+01:00thattommyhallYou are walking home late at night and two girls run past, one turns to the other and says “this is the millionth time I have ran today” and you cannot help but say “You would have to start and stop running 10 times a second, while you said that you would