If the general case is too hard for some reason, I mostly need the $n=2$ case of the following integral: $$ \int_0^\infty \frac{x^n}{e^x+1} \,dx $$
For some reason Mathematica fails me, as it claims the integral doesn't converge, which, uh, I'm pretty damn sure it does. So if someone can also tell me why Mathematica fails me here, that would also be great as a bonus.
EDIT: Alright, I found what I was doing wrong with Mathematica, I was inputting e^x instead of Exp[x]. However I would still like to know the general integral and how you find it.