⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fibonacnmbrs.html

📁 数据结构词典(英文)
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD W3 HTML 2.0//EN">
<HTML lang="en-US">
<HEAD>
<TITLE>Fibonacci numbers</TITLE>
<META name="description"
  content="Definition of Fibonacci numbers,
	possibly with links to more information and implementations.">
<META name="keywords" content="Fibonacci numbers">
</HEAD>
<BODY BGCOLOR="#FFFFFF">

<H1>Fibonacci numbers</H1>
<P>
(definition)

<P>
<strong>Definition:</strong>
A sequence of numbers such that each number is the sum of the preceding two.   The first seven numbers are 1, 1, 2, 3, 5, 8, and 13. Formally, F(n) = F(n-1) + F(n-2), where F(1)=1 and F(2)=1.  F(n)  <img src="approx.gif" tppabs="http://hissa.nist.gov/dads/HTML/Images/approx.gif" border=0 height=6 width=13 alt="approximately equal to"> round( <img src="Phi.gif" tppabs="http://hissa.nist.gov/dads/HTML/Images/Phi.gif"    border=0 height=10 width=9  alt="Captial Phi"><sup>n</sup>/ <img src="sqrt.gif" tppabs="http://hissa.nist.gov/dads/HTML/Images/sqrt.gif"   border=0 height=15 width=12 alt="square root of"> 5), where  <img src="Phi.gif" tppabs="http://hissa.nist.gov/dads/HTML/Images/Phi.gif"    border=0 height=10 width=9  alt="Captial Phi">=(1+ <img src="sqrt.gif" tppabs="http://hissa.nist.gov/dads/HTML/Images/sqrt.gif"   border=0 height=15 width=12 alt="square root of"> 5)/2.
<P><strong>See also</strong>
<a href="kthordrfibon.html" tppabs="http://hissa.nist.gov/dads/HTML/kthordrfibon.html"><em>kth order Fibonacci numbers</em></a>, <a href="memoize.html" tppabs="http://hissa.nist.gov/dads/HTML/memoize.html"><em>memoization</em></a>.
<P><em>Note:
Fibonacci, or more correctly Leonardo of Pisa, discovered the series in 1202 when he was studying how fast rabbits could breed in ideal circumstances. <P> An exact formula for the n<sup>th</sup> Fibonacci number is F(n)= ( <img src="Phi.gif" tppabs="http://hissa.nist.gov/dads/HTML/Images/Phi.gif"    border=0 height=10 width=9  alt="Captial Phi"><sup>n</sup> - (- <img src="phi.gif" tppabs="http://hissa.nist.gov/dads/HTML/Images/phi.gif"    border=0 height=10 width=9  alt="phi">)<sup>n</sup>)/ <img src="sqrt.gif" tppabs="http://hissa.nist.gov/dads/HTML/Images/sqrt.gif"   border=0 height=15 width=12 alt="square root of"> 5, where  <img src="Phi.gif" tppabs="http://hissa.nist.gov/dads/HTML/Images/Phi.gif"    border=0 height=10 width=9  alt="Captial Phi">=(1+ <img src="sqrt.gif" tppabs="http://hissa.nist.gov/dads/HTML/Images/sqrt.gif"   border=0 height=15 width=12 alt="square root of"> 5)/2 and - <img src="phi.gif" tppabs="http://hissa.nist.gov/dads/HTML/Images/phi.gif"    border=0 height=10 width=9  alt="phi">=(1- <img src="sqrt.gif" tppabs="http://hissa.nist.gov/dads/HTML/Images/sqrt.gif"   border=0 height=15 width=12 alt="square root of"> 5)/2. <P> Computing Fibonacci numbers is an example in the notes for <a href="memoize.html" tppabs="http://hissa.nist.gov/dads/HTML/memoize.html"><em>memoization</em></a>.</em>
<P>Author: <a href="terms.html#authorPR" tppabs="http://hissa.nist.gov/dads/terms.html#authorPR">PR</a>
<H2>More information</H2>
A wonderful site on <A HREF="javascript:if(confirm('http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.mcs.surrey.ac.uk/Personal/R.Knott/Fibonacci/  \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address.  \n\nDo you want to open it from the server?'))window.location='http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.mcs.surrey.ac.uk/Personal/R.Knott/Fibonacci/'" tppabs="http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.mcs.surrey.ac.uk/Personal/R.Knott/Fibonacci/">Fibonacci Numbers and the Golden Section</A>.

<hr>

Go to the
<A HREF="terms.html" tppabs="http://hissa.nist.gov/dads/terms.html">Algorithms, Data Structures, and Problems</A>
home page.

<hr>

If you have suggestions, corrections, or comments, please get in touch
with
<a href="javascript:if(confirm('http://hissa.nist.gov/~black/black.html  \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address.  \n\nDo you want to open it from the server?'))window.location='http://hissa.nist.gov/~black/black.html'" tppabs="http://hissa.nist.gov/~black/black.html">Paul E. Black</a>
&nbsp;(<a href="mailto:paul.black@nist.gov">paul.black@nist.gov</a>).

<p>
Entry modified Fri Jan  7 09:54:31 2000.<BR>
HTML page formatted Mon Jan 10 09:20:54 2000.

<P>
This page's URL is
<A href="fibonacnmbrs.html" tppabs="http://hissa.nist.gov/dads/HTML/fibonacnmbrs.html">http://hissa.nist.gov/dads/HTML/fibonacnmbrs.html</A>

</BODY>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -