Discrete Structures207610 marksNumerical: solving recurrence relationSolving Recurrence Relations
Question State pigeonhole principle. Solve the recurrence relation an = 3an-1 - 3an-2 + an-3, with initial conditions a0 = 1, a1 = 3, a2 = 7.
Question
State pigeonhole principle. Solve the recurrence relation $a_n = 3a_{n-1} - 3a_{n-2} + a_{n-3}$, with initial conditions $a_0 = 1, a_1 = 3, a_2 = 7$. [10]
- Recurrence: $an = 3a{n-1} - 3a{n-2} + a{n-3}$ - Initial conditions: $a0 = 1,\ a1 = 3,\ a2 = 7$ --- Statement: If $n$ objects are placed into $k$ boxes and $n k$, then at least one box contains two or more objects. Generalized form: If $N$ objects are placed into $k$ boxes, then at least one box...