Annual Coding Competition - archive 2007

Speed to calculate prime numbers

This years task was to calculate the n'th prime number the fastest. Entrants were asked to take a single parameter 'n' and calculate the n'th prime number the fastest.

On the day, the submissions were given the following prime index to calculate: 1000001.

This year we had quite a few entrants. However, only a whopping 'two' successful managed to calculate the correct prime number for each test and did not 'appear' to go into an 'under-drive'.

  1. Paul Carpinter, Suffolk.
    Running time: 0m32.774s average.
    See script here.
  2. Wayne Booth, Edinburgh
    Running time: 3m54.039s average.
    See script here.

Congratulations Paul - 2007 winner.

For the rest of you, better luck next time. See you all Feb/March next year.