anonymous
  • anonymous
Hye does anyone know the formula for Fibonacci series? And can you also explain it to me? Thank You. :)
Mathematics
  • Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
SOLVED
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
chestercat
  • chestercat
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
anonymous
  • anonymous
*hey
amistre64
  • amistre64
start off with 2 values; then the next value is the addition of the last 2
amistre64
  • amistre64
a,b a,b,(a+b) a,b,(a+b), (a+b)+b a,b,(a+b), (a+b)+b, (a+b)+(a+b)+b, ...

Looking for something else?

Not the answer you are looking for? Search for more explanations.

More answers

anonymous
  • anonymous
thats it? alright can you help me do Pseudo Code for it?
anonymous
  • anonymous
thanks
amistre64
  • amistre64
var Fib = new Array() var a=input1, b=input2 Fib[0] = a, Fib[1] = b for (x = 2 to k; x=x+1) { var c=a+b b=a, a=c Fib[x]=c } display Fib[]
amistre64
  • amistre64
almost ... a=b, b=c would shift it correctly
anonymous
  • anonymous
oh i see thank you sooo much :D
amistre64
  • amistre64
yep
amistre64
  • amistre64
theres some redundancy in it so its not an optimal code ...
amistre64
  • amistre64
var Fib = new Array() var a=input1, b=input2 Fib[0] = a, Fib[1] = b for (x = 2 to k; x=x+1) { Fib[x] = Fib[x-1] + Fib[x-2] } display Fib[]
amistre64
  • amistre64
2nd line could just as well be combined into the 3rd line too

Looking for something else?

Not the answer you are looking for? Search for more explanations.