GATE Computer ScienceHardNIELIT Scientist B

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

  1. A. 1023
  2. B. 3071
  3. C. 2046
  4. D. 2047

Correct answer: D. 2047

The characteristic roots are 1 and 2, giving aₙ = 2^(n+1) − 1, so a₁₀ = 2¹¹ − 1 = 2047.

More Discrete Mathematics questions

Exams that ask this topic