Java: define f(x,y) { if y = 0 { result: x+1 } if x = 0 { result: 1 } repeat x - 1 result: f(result,y - 1) } define f(x,y,z) { if z = 0 { result: f(x,y+1) } if y = 0 { result: f(x,x,z - 1) } if x = 0 { result: 1 } repeat y - 1 result: f(x,result,z - 1) } define f(x,,y)[z,d] { if y = 0 { result: 1 } if y = 1 { result: x } if y = 2 { result: f(x,x) } if d = 1 { result: f(x,,y-2)[x,result] } repeat z - 1 result: f(x,,y-1)[d-1,result] } Problems: unknown (not revealed) or comment below here