recategorized by
519 views
1 votes
1 votes

For non-negative integers $m$, $n$ define a function as follows

$$f(m,n) = \begin{cases} n+1 & \text{ if } m=0 \\ f(m-1, 1) & \text{ if } m \neq 0, n=0 \\ f(m-1, f(m,n-1))  & \text{ if }  m \neq 0, n \neq 0 \end{cases}$$ Then the value of $f(1,1)$ is

  1. $4$
  2. $3$
  3. $2$
  4. $1$
recategorized by

1 Answer

0 votes
0 votes
f(1,1)=f(0,f(1,0))   since m$\neq$0,n$\neq$0

=f(0,f(0,1))           since m$\neq$0,$n=0$

=f(0,2)                 since m$=$0

=3                       since m$=$0

Related questions

0 votes
0 votes
2 answers
1
1 votes
1 votes
1 answer
2
Arjun asked Sep 23, 2019
527 views
If $f(x)$ is a real valued function such that $$2f(x)+3f(-x)=15-4x,$$ for every $x \in \mathbb{R}$, then $f(2)$ is$-15$$22$$11$$0$
0 votes
0 votes
1 answer
3
Arjun asked Sep 23, 2019
596 views
If $f(x) = \dfrac{\sqrt{3}\sin x}{2+\cos x}$, then the range of $f(x)$ isthe interval $[-1, \sqrt{3}/2]$the interval $[- \sqrt{3}/2, 1]$the interval $[-1, 1]$none of the ...
0 votes
0 votes
2 answers
4
Arjun asked Sep 23, 2019
934 views
The limit $\:\:\:\underset{n \to \infty}{\lim} \Sigma_{k=1}^n \begin{vmatrix} e^{\frac{2 \pi i k }{n}} – e^{\frac{2 \pi i (k-1) }{n}} \end{vmatrix}\:\:\:$ is$2$$2e$$2 ...