← Quiz: Solving Recurrences: all 15 questions
Quiz: Solving Recurrences · Question 9 of 15
Which generating function produces the Fibonacci numbers 0, 1, 1, 2, 3, 5, …?
Which generating function produces the Fibonacci numbers 0, 1, 1, 2, 3, 5, …?
- A.1 / (1 − 2x)
- B.x / (1 − x − x²)
- C.1 / (1 − x)²
- D.x / (1 + x + x²)
Answer & explanation
Correct answer: x / (1 − x − x²)
From G(x) − x = xG(x) + x²G(x); the series division in the lesson printed the Fibonacci numbers.
Can you get the rest right without peeking?
Take the timed Quiz: Solving Recurrences quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →