GATE Computer ScienceHardNIELIT Scientist B
Let a₀ = 1, a₁ = 3 and aₙ = 3aₙ₋₁ − 2aₙ₋₂ for n ≥ 2. What is a₁₀?
- A. 1023
- B. 3071
- C. 2046
- 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
- How many integers from 1 to 1000 are relatively prime to 30?
- How many automorphisms does the 3-dimensional hypercube graph Q₃ (8 vertices, 12 edges) have?
- A lattice path from (0, 0) to (6, 6) uses unit steps right or up and never goes above the line y = x. How many such paths are there?
- In how many ways can 10 be written as a sum of distinct positive integers, where the order of the terms does not matter?
- How many distinct Hamiltonian cycles does the complete graph K₇ contain (a cycle and its reverse are the same, and rotations are the same)?
- How many of the 32 assignments to a, b, c, d, e satisfy (a ∨ b) ∧ (¬a ∨ c) ∧ (¬b ∨ ¬c) ∧ (c ∨ d) ∧ (¬d ∨ e ∨ a)?