Clever Buggers

Many years ago, on an extended trip to the States, I picked up a science magazine that purported to contain the world’s hardest IQ test. Upon my return to Blighty, me and several of the chaps at work had a go at answering some of these questions. They were indeed, very, very hard, and we only managed to answer a couple, as I remember.

One of the questions was as follows:
“A crystal consists of 100 million layers of atoms, such that there is one atom in the first layer, 3 in the second, 6 in the third, 10 in the fourth, 15 in the fifth, and so forth (imagine a pyramid). Exactly how many atoms are there in the entire crystal?”

To solve this, I wrote a short and crude computer program on my electronic calculator thingy (which, of course – you won’t be surprised to learn – I still own) that would effectively calculate how many atoms in each layer and then sum the layers. It worked… although it took almost an hour to run, as I remember.

Thinking there must be a more elegant way of doing it, we (Abbo) rang the local university and asked to speak to one of the maths professors. After explaining the problem to him, he thought about it for a minute and then rattled off an equation, working it out in his head as he went. The equation was as follows:

0.5 x ((1/6) x L x (L+1) x (2xL+1)) + (0.5 x 0.5 x L x (L+1))
Where L=the number of layers.

This equation gave us exactly the same answer as my program, but took only a few seconds to calculate. Amazing.

I mentioned this to my mate, Paul… a bit of a maths nerd. “Ooh, let me have a go”, he said.  It took him a few minutes, but he came up with a very similar looking – but not quite the same – equation.

However, it gave exactly the same answer.

Must be nice to be clever.

8 thoughts on “Clever Buggers”

Comments are closed.