CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Let xn denote the number of binary strings of length n that contain no concecutives 0s.
The value of x5 is

A
5
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
7
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
8
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
13
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
Open in App
Solution

The correct option is D 13
x1 = 2
x2 = 3
x3 = x1 + x2 = 2 + 3 = 5
x4 = x2 + x3 = 3 + 5 = 8
x5 = x3 + x4 = 5 + 8 = 13
So option (d) is correct.

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Definition of Function
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon