This question is #53 from the GRE Math Practice Book
Let f and g be functions of a real variable such that $g(x) = \int_{0}^{x} f(y)(y-x)dy$ for all x. If g is three times differentiable, what is the greatest integer n for which f must be n times continuously differentiable?