r*(r-1)*A*x^(r-2) + r*A*x^(r-2)-A^3*x^(3r) = 0, for r