8 questions
Q1
If
f(x)=x+f(x−2) when
x>1,
f(0)=0, and
f(1)=1, what is
f(7)?
Q2
If
f(x,y)=f(x−1,y)+f(x,y−1),
f(0,y)=y,
f(x,0)=x, find
f(2,3).
Q3
If
g(x)=g(x−1)+2⋅g(x−2) and
g(0)=1,
g(1)=1, find
g(5).
Q4
If
f(x)=2 when
x≤0, and
f(x)=f(x−1)+f(x−3) otherwise, find
f(5).
Q5
If
f(n) returns
f(n/2)+1 when
n>1, and
f(1)=0, what is
f(32)?
Q6
If
h(x)=h(x−1)⋅h(x−2) with
h(1)=2 and
h(2)=3, what is
h(5)?
Q7
If
f(x)=3⋅f(x−1)+2 and
f(0)=1, find
f(4).
Q8
If
f(x)=f(x−1)+f(x−3),
f(1)=1,
f(2)=1,
f(3)=1, find
f(7).