From: weiqigao@crl.com (Weiqi Gao)
Subject: Re: Fibonacci Numbers?
Date: 17 Sep 1994 22:17:59 -0700
Date: 1994-09-17T22:17:59-07:00 [thread overview]
Message-ID: <35gii7$3ef@crl.crl.com> (raw)
In-Reply-To: 35fl28$1h3@garuda.csulb.edu
In article <35fl28$1h3@garuda.csulb.edu>, S. Hegede <zoltan@csulb.edu> wrote:
>
>Hey! I'm an a beginning Ada programmer and I've been stuck for a while
>on trying to write a program in which a user can get the number in a
>Fibonacci series( Ex. 1,1,2,3,5,8,13,21...) by typing its position in
>the series. I only need help on getting the formula down that would
>calculate the next number in the series. Thanks for the help.
>.
>
>
fib(n) = 1/sqrt(5) * [ ( 1 + sqrt(5))^n - ( 1 - sqrt(5))^n ] / 2^n.
\/\/eiqi Gao
weiqigao@crl.com
next prev parent reply other threads:[~1994-09-18 5:17 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-09-17 20:54 Fibonacci Numbers? S. Hegede
1994-09-18 5:17 ` Weiqi Gao [this message]
1994-09-19 14:16 ` Robert I. Eachus
1994-09-20 2:47 ` Philip Brashear
1994-09-19 11:57 ` Robert Firth
1994-09-20 2:15 ` Keith Thompson @pulsar
1994-09-20 16:25 ` Robert Dewar
1994-09-21 0:57 ` David Weller
1994-09-23 16:33 ` Joseph Skinner
1994-09-23 20:55 ` Jeffrey J. Hallman
1994-09-20 6:36 ` pk
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox