g(n,u,x)=gen_laguerre(n,u+1/2,x); I am finding it difficult to see whether g(n,-10,x) is irreducible or not for a certain range of n say (2,10). I have used .factor() to factor the polynomial which solves my problem in a way but it is not economical and very difficult to check. I just want to see whether the function is irreducible? Please help me urgently if you can. I am doing all the computations in sage.