Matematiker havde det sjovt med polynomiet blokhoved efter skole.