RTUComputer ScienceYr 2024 · Sem 42024

Q3Discrete Mathematics Structure

Question

10 marks

Use generating functions to solve the recurrence relation a_r - 7a_{r-1} + 10a_{r-2} = 0 for r ≥ 2 where a_0 = 10 and a_1 = 41.

Answer

a_r = 2(5^r) + 8(2^r)

Recurrence: . Let .

Multiply by and sum from : .

. For . For .

Actually or similar. Let's check: . Correct.

.

Back to Paper