Computer Sciences > GATE 2015 SET-1 > Recurrence Relations
Let an represent the number of bit strings of length n containing two consecutive 1s. What is the recurrence relation for an?
A
an-2 + an-1 + 2n-2
B
an-2 + 2an-1 + 2n-2
C
2an-2 + an-1 + 2n-2
D
2an-2 + 2an-1 + 2n-2

Correct : a

Similar Questions

Consider the following recurrence relation: Which one of the following options is CORRECT?
#878 MCQ
Let T(n) be the recurrence relation defined as follows: T(0) = 1, T(1) = 2, and T(n) = 5T(n-1) - 6T(n-2) for n ≥ 2 Which one of the following statements is TRUE...
#903 MCQ
Consider the following recurrence relation:T(n)=2T(n-1)+n2n for n>0, T(0)=1.Which ONE of the following options is CORRECT?
#1363 MCQ

Related Topics

No tags found

Unique Visitor Count

Total Unique Visitors

Loading......