Question: Create a quartic polynomial with coefficients 0<=a[i]<=2

Hi, I am very new in maple. I want to create a list of 54 quartic polynomials f=x^4 + a_3*x^3 + a_2*x^2 + a_1*x + a_0 with coefficients 0<=a_i<=2 and a_0 <> 0 . 

f := x ->  x^4 + add(a[i]*x^i, i = 0 .. 3);
for m to 54 do
    pol[m] := f(x);
end do;

How do I incorporate conditions 0<=a_i<=2 and a_0 <> 0 into this cycle so I can get 54 different combinations of coefficients? Thank you.

Please Wait...