Step 1: Characteristic equation.
The recurrence relation is: \[ L_n = L_{n-1} + L_{n-2} \] Its characteristic polynomial is: \[ x^2 - x - 1 = 0 \] Step 2: Solve for roots.
The roots are: \[ \alpha = \frac{1+\sqrt{5}}{2}, \beta = \frac{1-\sqrt{5}}{2} \] Step 3: General solution form.
The solution has the form: \[ L_n = A\alpha^n + B\beta^n \] Step 4: Use initial conditions.
For $n=1$: \[ L_1 = 1 = A\alpha + B\beta \] For $n=2$: \[ L_2 = 3 = A\alpha^2 + B\beta^2 \] Step 5: Known property of Lucas sequence.
The Lucas sequence is well-known to satisfy: \[ L_n = \alpha^n + \beta^n \] where $\alpha, \beta$ are the roots of $x^2 - x - 1 = 0$.
Step 6: Verification.
Check $n=1$: \[ L_1 = \alpha + \beta = \frac{1+\sqrt{5}}{2} + \frac{1-\sqrt{5}}{2} = 1 \] Check $n=2$: \[ L_2 = \alpha^2 + \beta^2 = (\alpha+\beta)^2 - 2\alpha\beta = 1^2 - 2(-1) = 3 \] This matches perfectly. \[ \boxed{L_n = \left(\frac{1+\sqrt{5}}{2}\right)^n + \left(\frac{1-\sqrt{5}}{2}\right)^n} \]
The output of a 2-input multiplexer is connected back to one of its inputs as shown in the figure. Match the functional equivalence of this circuit to one of the following options. 
In a 4-bit ripple counter, if the period of the waveform at the last flip-flop is 64 microseconds, then the frequency of the ripple counter in kHz is ______________. {(Answer in integer)}
Consider the following C code segment:
int x = 126, y = 105;
do {
if (x > y)
x = x - y;
else
y = y - x;
} while (x != y);
printf("%d", x);
The output of the given C code segment is ____________. (Answer in integer)
The following two signed 2’s complement numbers (multiplicand \( M \) and multiplier \( Q \)) are being multiplied using Booth’s algorithm:
| Multiplicand (\( M \)) | Multiplier (\( Q \)) |
|---|---|
| 1100 1101 1110 1101 | 1010 0100 1010 1010 |
The total number of addition and subtraction operations to be performed is __________. (Answer in integer)
The maximum value of \(x\) such that the edge between the nodes B and C is included in every minimum spanning tree of the given graph is __________ (answer in integer).
Consider the following C program
The value printed by the given C program is __________ (Answer in integer).