Talk:Fibonacci sequence: Difference between revisions

→‎Optional credits: added a couple of comments on optional credits. -- ~~~~
(→‎Alternative: Ta!--~~~~)
(→‎Optional credits: added a couple of comments on optional credits. -- ~~~~)
Line 55:
 
:Thanks. Prompted by the above, I read [http://en.wikipedia.org/wiki/Fibonacci_chain#Closed-form_expression this].
 
==Optional credits==
 
I would've like to see an optional credit solution for allowing the specification of the starting (two) numbers.
<br>This would've allowed the examples to also generate the Lucas numbers.
* Fibonacci numbers start with: 0, 1 (zero, one)
* Lucas numbers start with: 2, 1 (two, one)
Another possibility would allow the specifiction of how many (previous) numbers to be summed.
* Fibonacci numbers sum the two previous numbers.
* tribonacci numbers sum the three previous numbers.
* tetranacci numbers sum the four previous numbers.
* pentanacci numbers sum the five previous numbers.
* hexdanacci numbers sum the six previous numbers.
* heptanacci numbers sum the seven previous numbers.
* octanacci numbers sum the eight previous numbers.
* nonanacci numbers sum the nine previous numbers.
* dodecanacci numbers sum the ten previous numbers.
There may be more named Fibonacci numbers in this series of series. -- [[User:Gerard Schildberger|Gerard Schildberger]] 20:15, 24 May 2012 (UTC)