By the ratio test, x must be between -1 and 1. The endpoints x=-1 and x=1 must be checked separately. Both give divergent series by the divergence test. So the series converges if and only if .

The series is geometric with first term 1, and common ratio . So the sum is