This is such a cool technique, and you could even teach it in secondary schools as a neat thing computer scientists can do with polynomials.