logo

fibonacci sequence

In the Fibonacci Sequence (1, 1, 2, 3, 5, 8, 13, ...), each term is the sum of the two previous terms (for instance, 2+3=5, 3+5=8, ...). As you go farther and farther to the right in this sequence, the ratio of a term to the one before it will get closer and closer to the Golden Ratio.

Start with a square and add a square of the same size to form a new rectangle. Continue adding squares whose sides are the length of the longer side of the rectangle; the longer side will always be a successive Fibonacci number. Eventually the large rectangle formed will look like a Golden Rectangle - the longer you continue, the closer it will be.

fibonacci squares

the fibonacci squares

fibonacci generator (in perl)

fibonacci.generator - perl fibonacci sequence generating script. For download or copy and paste. Works on unix, Windows with ActiveState Perl and MacOSX systems.