GATE CSE
First time here? Checkout the FAQ!
x
+1 vote
172 views
What is the generating function G(z) for the sequence of Fibonacci numbers?
asked in Algorithms by (311 points)   | 172 views

2 Answers

+3 votes

Fibonacci series :  1,1,2,3,5,8,13..........

Its generating function is :

1*z+ 1*z+2*z+3*z+5*z4+-----------∞  =  G(z)

Above series can be rewritten as :

1 + (z +z2) + (z+z2)+....................∞  = G(z)

1/(1 - (z+z2)   = G(z)

Hence generating function G(z) =  1/(1- z -z2)

 

 

answered by Loyal (3.4k points)  
will you please explain in brief


Top Users Mar 2017
  1. rude

    4018 Points

  2. sh!va

    2994 Points

  3. Rahul Jain25

    2804 Points

  4. Kapil

    2608 Points

  5. Debashish Deka

    2104 Points

  6. 2018

    1414 Points

  7. Vignesh Sekar

    1336 Points

  8. Bikram

    1218 Points

  9. Akriti sood

    1186 Points

  10. Sanjay Sharma

    1016 Points

Monthly Topper: Rs. 500 gift card

21,446 questions
26,759 answers
60,943 comments
22,955 users