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

A function f(x, y) is defined for non - negative integers
I. f(0, 0) = 0
II. f(2x, 2y) = f(2x + 1, 2y + 1) = f(x, y)
III. f(2x + 1, 2y) = f(2x, 2y + 1) = f(x, y) + 1
What is the value of f(11, 5)?

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

The correct option is C 3
f(11, 5) = f(2 × 5 + 1, 2 × 2 + 1)
= f(5, 2) = f(2 × 2 + 1, 2 × 1)
= f(2, 1) + 1
= f(2 × 1, 2 × 0 + 1)
= (f (1, 0) + 1) + 1
= f (1, 0) + 2
= f (2 × 0 + 1, 2 × 0)
= (f (0, 0) + 1) + 2
= f(0, 0) + 3
= 0 + 3
= 3

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