A mashup of the LaTeX polynom package and QuickLaTeX.com

Enter polynomials in x, e.g. 3x^2 - x + 1: