If the function f (x) = a + 2 / 2 ^ X-1 is odd in its domain, then the value of real number a is zero

If the function f (x) = a + 2 / 2 ^ X-1 is odd in its domain, then the value of real number a is zero

The simplest method, the copy method, is an odd function
So f (1) = a + 2, f (- 1) = A-4, so 4-A = a + 2, so a = 1
To calculate, we use the definition f (x) = - f (- x)
If the function is f (x) = a + 2 / (2 ^ x-1), that's my answer
If the function is a + 2 / 2 ^ X-1
Then f (0) = a + 2-1 = 0, so a = - 1