Wednesday, November 26, 2014

The Fibonacci Sequence

This is going to be a strange old post but I was thinking of something so let's see how it goes.
Everywhere you look these days you will see the name of Alan Turing; this is for a number of reasons. One may be because there is a movie on release starring Benedict Cumberbatch – yes of course that's his real name and we will all remember it just as we remembered Schwarzenegger.
In the film Breaking the Code, Derek Jacobi played Alan Turing and he is seen staring at a fir cone; here:

If you look at it you will see that there is a distinct pattern. What we see when we look at it is the same pattern but when a mathematician looks at it he sees a pattern of numbers. 
That pattern is called the Fibonacci Sequence and was spotted nearly a thousand years ago by someone called, would you believe Fibonacci. 

He didn't invent it as it was used by Indian mathematicians in the 6th century.
What do the numbers mean?
Well the Fibonacci numbers are the sum of the two previous numbers and so on so 1, 2, is followed by 3. 
Simple?
So far.
Then 3 is followed by 5 and 5 is followed by 8. What does this all mean; how can it be useful.
It's supposed to be  a way of predicting how many rabbits two rabbits will begat in a year.
But.
Somehow it is the meaning of life when it comes to a computer.
There is line in Breaking the Code when Turing, quite well in to middle age by now, says 'look at this cone; a Fibonacci sequence.'
Great piece of writing aye? Engels, meet Marx, Rolls meet Royce!! (you know what I mean).
Well look at this:

That is the pattern created by a Japanese Puffer Fish; the fish is about two inches long and in order to attract a mate he makes this pattern in the sand at the bottom of the ocean. When the female arrives he flattens the middle. It was on TV the other day in the David Attenborough series.
Isn't nature wonderful?
Here are some more patterns from nature all with Fibonacci numbers.


Amazing aren't they?
So how does the Fibonacci sequence lead to a genius inventing the computer?
That's why the genius who invented the computer invented it and not me – nor you.
Unfortunately Alan Turing was born in the wrong age: as with Leonardo da Vinci, Alexander the Great, Michaelangelo and many more he was homosexual; gay.
But in the time he was active the practice was against the law; it was never against the law for one man to love another man but the actual practice was.
In Britain that is; in some countries it still is.
Gay marriage is legal in lots of states in America and lots of other countries but in Uganda and really backward countries homosexuality is still against the law.
So instead of praising Alan Turing the authorities persecuted him; they chemically castrated him and he eventually committed suicide.
At a time when people knew very little about genetics or DNA, Turing used the early computer to try to crack how a soup of cells and chemicals could transform itself and grow into complex natural shapes - a subject known as morphogenesis. In an incredible article published in 1952, Turing suggested that everything from the spots and stripes on animals to the arrangement of pine cones and flowers could be explained by the interactions between two chemicals. Turing’s work in this area is intimately connected with the timing of his trial and conviction for homosexuality, and his subsequent ‘treatment’ with a course of chemical injections.
Hope you like the patterns:

 And work this one out:





1 comment:

  1. Folks: I've had a few private emails telling me it stopped when it got interesting so in the next installment I'll carry on and I'll probably discover the secrets of the universe!!!!

    ReplyDelete