Question
The Lucas sequence is defined by the recurrence relation:
with and .
Which one of the options given is TRUE?
Official answer and solution
- Official answer
- A
- From
- Official GATE 2023 answer key
Solution
Solve the second-order linear homogeneous recurrence with the characteristic equation.
The recurrence is . Its characteristic equation is , having roots:
The general solution is .
Using the initial conditions:
- For :
- For :
Notice that and . Hence, and satisfy both initial conditions directly.
Therefore, .
Option (A)
Confusing Lucas numbers with Fibonacci numbers (which have a factor and a minus sign).
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2023 Computer Science and Information Technology (CS)
- Question
- 15 of 65
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.