Find the values of p

Find the values of p for which the integral converges and evaluate the integral for those values of p.
∫1 0 1/x^p dx