Click here to read the complete problem statement.
why 3470 is not the answer?
Let, y=0,
so, g(x) + g(0) = g(x) - 0
=> g(0) = 0
again for y=1,
g(x) + g(1) = g(x+1) - x
=> g(x+1) = g(x) + g(1) + x
Now, for x=1, g(1) = g(0)+ g(1)+0 = g(1)
for x=2, g(2) = g(1) + g(1) + 1 = 2g(1) + 1
similarly find g(3), g(4) and so on.. You’ll see a pattern.
Now, we were already given g(23)=0. From there, find g(1) and input the value into g(35).