Friday, 12 April 2013

This is REALLY Random

(using the 2013 edition of the word “Random” to mean weird, amazing and far out).

In my work, I use a clever piece of software that uses a statistical approach to model the reliability of equipment. The user defines stuff like “this pump has an average failure rate of once every 5 years” and “annual maintenance starts on this date”. By using a statistical approach, the software provides an idea of the expected overall performance and “uptime” of the whole plant in which the equipment is installed. Getting this right can save millions of dollars.

The statistical maths behind this program is called the Monte Carlo Method. It gets its name from a casino where the uncle of the guy who invented the maths used to gamble. Roulette for inspiration? You couldn’t make this stuff up if you tried!  Is that random, or is it just weird?

In reading the history and development of this, and related, maths I came across a book titled “A Million Random Digits” (on Amazon here) first published in 1955. In those days, random numbers were hard to generate in a computer (because nobody had a computer). This book, which literally contains page after page of numbers, was actually very useful. Amazingly it has been reprinted, so maybe it still has some application today. What a weird, random world we live in!

Now at this point I could choose to bore you with a discussion of why random numbers are really important, and why a computer can’t really generate really random numbers (it generates a sequence of numbers that look like they are random, but because they are a sequence, they aren’t really random – Sorry, I did bore you a little bit. Oops).

But I’m not going to bore you any longer. Instead, scroll down the Amazon page of “A Million Random Digits” and go to the comments. Even if you only have a vague idea of the mathematical beauty of randomness, I hope you will appreciate comments like :
“The book is a promising reference concept, but the execution is somewhat sloppy. Whatever generator they used was not fully tested. The bulk of each page seems random enough. However at the lower left and lower right of alternate pages, the number is found to increment directly.”
Or this:
“Even though I didn't really see it coming, the ending was kind of anti-climatic. But overall the book held my attention and I really liked the "10034 56429 234088" part. It's nice to know I'm not the only one who feels that way.”
Or this, my favourite:
“This book is ok as far as lists of digits go, but seriously limited. Its only a million digits. Its nothing in comparison to Graham's Digit's Bound (available from Cirius Cybernetics as the ratio of lengths of two pieces of bogonium, or as an RSS feed until the end of this and every universe.)
To be fair this set of digits is supposed to be random, but my guess is that you could find this exact set of digits or an encoding of this set as a set of digits in Graham's Digit's Bound. I could easily prove this if I could get a couple of minutes of time on the Aleph One.”
If you thought the references were random (i.e. you didn’t understand them), then you need to spend less time reading maths and more time reading literature, particularly Douglas Adams (link deliberately omitted so you have to do some of your own research).

Despite it’s awesome title, you won’t find “Graham’s Digit’s Bound” on Amazon though. It’s a reference to Graham’s Number. You will find the definition on Wikipedia here but this page should come with a warning like. “Warning! Explicit maths-p0rn – may upset some audiences – NSFW!!!”. For my non-maths-geek readers, Graham’s number is so big that mathematicians have difficulty finding symbols that can express how big its bigness is. Others have explained it far better than I will (still horror-movie brainmelt stuff) and here is a slightly more humane version, with a twist at the end).

This got me thinking. First about the fact that books of random numbers were actually published (and now hide wasted on people’s bookshelves). And second about the literary creativity in the comments on stuff that is available on Amazon. You can get some pretty random (meaning obscure) things on Amazon - like live ladybirds and wolf urine. That's worse than random! Truth is stranger than fiction. The comments are just brilliant (though you might need a dark sense of humour). Here are some more for you:

Barrenttine Methylated Spirits (Actual warning: Meths is nasty stuff).

The humble biro gets the comments treatment too, including this priceless gem: “the spellcheck for this device seems to be broken”.

Others have already written about these comments of literary genius in newspapers and blogs but to save you wasting your lunchbreak scraping the depths of Amazon’s database, some random reviewer has helpfully compiled a Listmania of them already: UK version here  and US version here.

That’s so random!

1 comment: