Linear And Quadratic Sequences