bah sorry, i thought those where regular parenthesis
My mistake
Edit:
Ok it's been a few years already since i solved these kind of problems for the last time, so i dunno if it's right
It works for 0:
floor(0) + floor(1/2) = 0
Now let's say it works for n
floor(n/2) + floor((n+1)/2) = n
then we can add 1
floor(n/2) + floor((n+1)/2) +1 = n+1
floor((n+2)/2) + floor((n+1)/2) = n+1
floor(((n+1)+1)/2) + floor((n+1)/2) = n+1
tadda