Characterization of polynomials and higher-order Sobolev spaces in terms of functionals involving difference quotients. (January 2015)