Discussion About Compute F(N)

This is Discussion thread about Compute F(N)

If n is even, then
the answer is n / 2,
otherwise
the answer is ( n - 1) / 2 - n = - ( n + 1) / 2.