Integrate[1/((a + 1)^x + a), {x, 0, Infinity}, Assumptions -> a > 0]