[Tutor] fibonacci.py task ???

Marc Tompkins marc.tompkins at gmail.com
Tue Jun 24 18:49:37 CEST 2008


On Tue, Jun 24, 2008 at 6:40 AM, John Patrick Gerdeman <
j_gerdem at informatik.uni-kl.de> wrote:

> (You could potentially start the sequence anywhere, e.g at a=5 and b=7, or
> over all prime numbers, it
> would still be a Fibonacci sequence, though not the one commonly known)
>

Actually, a series that follows the same rule as the Fibonacci sequence
(each member is the sum of the previous two members) but starts somewhere
other than 0 and 1 is called a "Lucas sequence", after a mathematician named
Édouard Lucas.  Put it another way: the Fibonacci sequence is just one of an
infinite number of Lucas sequences.

Sorry - just a bit of trivia I happened to recall.

-- 
www.fsrtechnologies.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20080624/6cd5ed30/attachment.htm>


More information about the Tutor mailing list