Question

Define a function B: N x N→ N using the following recursive definition.

B(0, n)= n³ n > 0,

B(m, 0)= B(m-1,1) m > 0,

B(m, n)=B(m-1, B(m, n-1)) m, n > 0.

Compute B(2, 2). Show your working.

Question image 1