integral of 1/(1+x^n) dx