Coefficient[(x+x^2+x^3+x^4+x^5+x^6)^10,x^35]
=4395456