-
Categories
- Books (1)
- Film (4)
- Games (3)
- Mathematics (10)
- Programming (20)
- Television (1)
- Uncategorized (10)
-
Archive
- September 2026 (2)
- August 2026 (6)
- November 2012 (1)
- July 2011 (2)
- August 2010 (14)
- July 2010 (9)
Monthly Archives: July 2010
Checking Prime Numbers
Now that we have a function for generating primes, the next library function we will need is to check whether a given number is prime. The basic method for checking whether a given number n is prime is to use … Continue reading
Generating Prime Numbers
A prime number is a natural number which has exactly two distinct natural number divisors: 1 and itself. Prime numbers appear in many of the problems in Project Euler, so I thought it would be a good idea to create … Continue reading
Favourite Films:Lord of the Rings
What can I say? When this was released, I, together with millions of other fans, was waiting for the usual Hollywood hatchet job on a beloved book. However, director Peter Jackson has done a wonderful job and stayed true to … Continue reading
Tagged Cinema, Film
Leave a comment
Star Trek: The Next Generation
I remember watching Star Trek:TNG when it first aired and I thoroughly enjoyed it. I thought I would try and rediscover it by watching the complete series from the start. I may be remembering it through rose-coloured glasses but so far I … Continue reading
Project Euler: Problem 2
Problem 2 of Project Euler is: Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be: 1, 2, 3, 5, 8, 13, 21, … Continue reading