Welcome!



I'm Alexander Rahardjo. Here is some tutorials with its algorithms and source codes for solving some programming problem with some programming languages. Check this out and enjoy to learn programming with this site. For question you can ask by the "Visitors" box..Thanks






[Algorithm] Fibonacci

(Jul 11, 2008)

In mathematics, the Fibonacci numbers are a sequence of numbers named after Leonardo of Pisa, known as Fibonacci. Fibonacci's 1202 book Liber Abaci introduced the sequence to Western European mathematics, although the sequence had been previously described in Indian mathematics.[2][3]

The first number of the sequence is 0, the second number is 1, and each subsequent number is equal to the sum of the previous two numbers of the sequence itself. In mathematical terms, it is defined by the following recurrence relation:

1. \\ \end{cases} " src="http://upload.wikimedia.org/math/7/6/f/76f99713cf111eb035d908228c351710.png">

That is, after two starting values, each number is the sum of the two preceding numbers. The first Fibonacci numbers (sequence A000045 in OEIS), also denoted as Fn, for n = 0, 1, 2, … ,20 are:[4][5]

F0 F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 F13 F14 F15 F16 F17 F18 F19 F20
0 1 1 2 3 5 8 13 21 34 55 89 144 233 377 610 987 1597 2584 4181 6765





Every 3rd number of the sequence is even and more generally, every kth number of the sequence is a multiple of Fk.

The sequence extended to negative index n satisfies Fn = Fn−1 + Fn−2 for all integers n, and F−n = (−1)n+1Fn:

.., −8, 5, −3, 2, −1, 1, followed by the sequence above.

Posted in Label: Diposting oleh Alexander Rahardjo  

0 komentar:

 



Copyright 2005-2007. Hello Wiki designed by Fen, Blogger Templates by Blogcrowds
Last Edited by PhOeNiXxX ™
.