Fibonacci

An algebraic approach
Consider the set Z of infinite real sequences (a1, a2, a3, ... )
which satisfy the recursive relation
an+2 = an+1 + an .
Because of the linearity of the recursion we can define in Z addition and scalar multiplication by
(a1, a2, a3, ... ) + (b1, b2, b3, ... ) = (a1+b1, a2+b2, a3+b3, ... ) and
c.(a1, a2, a3, ... ) = (c.a1, c.a2, c.a3, ... ).
The set Z with the defined addition and scalar multiplication is a linear space (vector space).
If the first two elements a1 and a2 of a sequence (a1, a2, a3, ... ) are known, we may find
every element of the sequence with the help of the recursive relation.
It is obvious that {(1,0,...), (0,1,...)} is a base of the linear space Z.
Another, more often used base is {(1,1,...),(1,3,...)}. The first base element is called the sequence of Fibonacci and the second
the sequence of Lucas.
Another interesting base is {(1,r,...), (1,s,...)} with
r = (1 + sqrt(5))/2 en s = (1 - sqrt(5))/2.
As 1 + r = r2 is r + r2 = r3 etc. and so (1,r,...)
is a geometric sequence: (1, r, r2, r3, r4, r5, ... )
In the same way we may show that (1,s,...) is a geometric sequence.
The sequences of Fibonacci and Lucas may be represented with regard to the last mentioned base.
This yields for the nth Fibonacci number Fn = (rn - sn) / (r - s) and for the
nth Lucas number Ln = rn + sn.
