Factoring & interpolation prototype.