Does stuff with linear and quadratic sequences