When I type factor(x^2-5, a^2-5); I just get (x - a) (x + a) What should I type to get the expected (x - sqrt(5))(x + sqrt(5))? What is the difference between factor and gfactor? Yours, Poul Riis Denmark