Q. Let $k$ be a positive integer and $f ( x )$ be a polynomial with integer coefficients satisfying $2 \int\limits_1^x f(t) d t+x^k=x f(x)$, where $x \geq 1$. Find the sum of all possible values of $k$.
Differential Equations
Solution: