# Alex Bligh's blog

Alex Bligh's personal blog

## Four fours

Over the weekend I wrote a little ugly perl in order to solve the ‘four fours‘ problem. Essentially the problem is to make as many positive integers as you can, using only four occurrences of the digit ’4′, and some mathematical symbols. For instance: 17 = ( 4 * 4 ) + ( 4 / 4 […]

## Changes at Nominet that I support

I suppose I have been quite critical of Nominet recently (here, here, here, here, here, here, here, and here, for instance). So I am pleased to say they’re suggesting something today with which I agree. Today Nominet announced a ‘program for evolving the .uk namespace‘. Much of the release is to do with a new consultation […]

## Algorithm puzzle: Elves, Cakes and Gremlins – my solution #2

This post is the continuation of my answer to the elves, cakes and gremlins puzzle. One remaining question is the validity of the assumption that its quick and easy to find a value of S that is coprime to the value of L. I blithely asserted this easy, as the probability that two numbers are […]

## Algorithm puzzle: Elves, Cakes and Gremlins – my solution #1

Here’s my answer to the elves, cakes and gremlins puzzle. I’m quite sure this is not the only solution, and it may well not be the best solution, but I believe it works. I think the key to this puzzle is criterion 3: “Assuming there is at least one locker that remains empty throughout an […]