GATE Computer ScienceVery hardGATE CS (PYQ pattern)

a₀ = 1, a₁ = 3 and aₙ = 4aₙ₋₁ − 4aₙ₋₂ + 2ⁿ for n ≥ 2. What is a₁₀?

  1. A. 50176
  2. B. 53248
  3. C. 52224
  4. D. 20481

Correct answer: C. 52224

The characteristic root 2 is double and the forcing term 2ⁿ resonates with it, so the particular solution is c·n²·2ⁿ with c = 1/2; fitting a₀ = 1, a₁ = 3 gives aₙ = 2ⁿ(1 + n²/2), so a₁₀ = 1024 · 51 = 52224.

More Discrete Mathematics questions

Exams that ask this topic