Anonymous user
Talk:Fibonacci sequence: Difference between revisions
m
→Alternative: as long as this is a discussion page, make the formula even easier to read (for the italics, radix symbols, and superscripts).
m (→Alternative: moved the HTML comment around (to display less whietspace).) |
m (→Alternative: as long as this is a discussion page, make the formula even easier to read (for the italics, radix symbols, and superscripts).) |
||
Line 51:
<!-- Sorry for the "changing" of someone's comment, but I couldn't read the original formula, so I though an enlarged version would be beneficial to everyone. --- Gerard Schildberger. -->
Fibonacci sequence can also be calculated using this formula.
<big><big><big><math> Fib[n] = \frac{(1+\sqrt{5})^n - (1-\sqrt{5})^n}{2^n \sqrt{5}} </math></big></big></big>
Size of the floating-point type (float, double, long double etc..) will limit how high n can be calulated.
|