1. Bugfix. Some formulae were ignored.
2. Compute and display necessary number of terms.
3. Make all coefficients if GCD>1.