Coefficient[ (1+x+x^2)^13, x^4]