I have a differential equation and I have to study its behavior around a singular point. I guess
and plug it into the differential equation. Now I would like to collect the coefficients in front of each power of x separately (x^a, x^a-1, x^(a+b), etc..). However the Collect command collects only integer powers of x. How can I do?