For all non - negative integers x and y, f(x,y) is defined as below. f(0, y) = y + 1 f(x + 1, 0) = f(x, 1) f(x + 1, y + 1) = f(x, f(x + 1, y)) find f(1, 2)?
A
2
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
4
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
3
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
Cannot be determined
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is B 4 f(1, 2) = f(0, f(1, 1)); Now f(1, 1) = f[0, f(1, 0)] = f[0, f(0, 1)] = f[0, 2] = 3 Hence, f(1, 2) = f(0, 3) = 4