q(x)=\sum_{k=1}^m\frac{a_k}{2(k-1)!}(x-a)^k+\frac{a_1}2(x-a)-\sum_{k=1}^m\frac{a_k}{k!}(x-a)^k