Factor is the inert form of factor.
Factor takes as argument a polynomial.
Factor returns factor without evaluation. It is used in conjonction with mod in Maple syntax mode to factorize a polynomial with coefficients in ℤ/pℤ where p must be prime.
Input in Xcas mode :
you need to eval(ans()) to get :
Input in Maple mode :
^2-5*x+4) mod 13