wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

fn= fn – 1, if n is odd= 2fn-1, if n is even.If f0 = 1, then find the value of f20 + f21.

A
1
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
2048
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
512
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
4096
No worries! We‘ve got your back. Try BYJU‘S free classes today!
E
128
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is B 2048

Soln:

Option (b)

f4 + f5 = 2f3 + f4 = 2f2 + 2f3 = 4f1 + 2f2 = 4f0 + 4f1 = 4f0 + 4f0 = 8f0 = 8

Hence option (e)

OR starting with

f(0) = 1

F(1) = 1

F(2) = 2

F( 3) = 2

F(4) = 4

F (5) = 4

F(6) = 8

F(7) = 8

……………..

…………….

F(N) =2N/2

F(N+1) = 2N/2

Therefore f( 20) = 210and f(21) = 210

f(20) + f(21) =1024+1024 = 2048


flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Functions
QUANTITATIVE APTITUDE
Watch in App
Join BYJU'S Learning Program
CrossIcon