Everything Is a Ghetto: mathematicsPosts tagged with mathematicshttp://www.thattommyhall.com2008-02-22T00:57:27+00:00thattommyhallYou 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 wouldPointless 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'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 sidesArithmetic is a great bollocks detectorhttp://www.thattommyhall.com/2008/03/29/arithmetic-is-a-great-bollocks-detector/2008-03-29T15:29:48+00:002016-06-05T02:27:23+01:00thattommyhallGo and read Pupils to get ‘new world’ trips from the beeb.
You may think “trips abroad for kids, great” , if you are more cynical you may think “heads choose the kids, not sure I like that”.
Let us do some arithmetic, 100 kids for 6 weeks each for Infinite 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 algorithmProject 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 remember