Recurrence Relations questions

Q15

GATE CS 2024 CS-2Discrete MathematicsMCQ1 mark−1/3 if wrong
Let T(n)T(n) be the recurrence relation defined as follows:
T(0)=1T(0) = 1,
T(1)=2T(1) = 2, and
T(n)=5T(n−1)−6T(n−2)T(n) = 5T(n - 1) - 6T(n - 2) for n≥2n \ge 2

Which one of the following statements is TRUE?
Show answer without attempting

Answer: A

Q15

GATE CS 2023 CSDiscrete MathematicsMCQ1 mark−1/3 if wrong
The Lucas sequence LnL_n is defined by the recurrence relation:
Ln=Ln−1+Ln−2,for n≥3,L_n = L_{n-1} + L_{n-2}, \quad \text{for } n \ge 3,
with L1=1L_1 = 1 and L2=3L_2 = 3.

Which one of the options given is TRUE?
Show answer without attempting

Answer: A

Q51

GATE CS 2022 CSDiscrete MathematicsMSQ2 marks
Consider the following recurrence:

f(1)=1;f(1) = 1;
f(2n)=2f(n)−1, for n≥1;f(2n) = 2f(n) - 1, \text{ for } n \ge 1;
f(2n+1)=2f(n)+1, for n≥1.f(2n+1) = 2f(n) + 1, \text{ for } n \ge 1.

Then, which of the following statements is/are TRUE?
More than one option can be correct.
Show answer without attempting

Answer: A, B, C

Q2

GATE CS 2016 CS-1Discrete MathematicsMCQ1 mark−1/3 if wrong
Let ana_n be the number of nn-bit strings that do NOT contain two consecutive 1s. Which one of the following is the recurrence relation for ana_n?
Show answer without attempting

Answer: B

Q27

GATE CS 2016 CS-1Discrete MathematicsNAT2 marks
Consider the recurrence relation a1=8,an=6n2+2n+an−1a_1 = 8, a_n = 6n^2 + 2n + a_{n-1}. Let a99=K×104a_{99} = K \times 10^4. The value of KK is ________.
Show answer without attempting

Answer: 197.9 to 198.1

Q45

GATE CS 2015 CS-1Discrete MathematicsMCQ2 marks−2/3 if wrong
Let ana_n represent the number of bit strings of length nn containing two consecutive 1s. What is the recurrence relation for ana_n?
Show answer without attempting

Answer: A

Q49

GATE CS 2014 CS-1Discrete MathematicsNAT2 marks
A pennant is a sequence of numbers, each number being 1 or 2. An n-pennant is a sequence of numbers with sum equal to n. For example, (1,1,2)(1,1,2) is a 4-pennant. The set of all possible 1-pennants is {(1)}\{(1)\}, the set of all possible 2-pennants is {(2),(1,1)}\{(2), (1,1)\} and the set of all 3-pennants is {(2,1),(1,1,1),(1,2)}\{(2,1), (1,1,1), (1,2)\}. Note that the pennant (1,2)(1,2) is not the same as the pennant (2,1)(2,1). The number of 10-pennants is ______________.
Show answer without attempting

Answer: 88.9 to 89.1

0/70 correct0 marks

Related topics in Discrete Mathematics