n! * Coefficient[(1+x+x^2/2!+x^3/3!)^k, x^n] where n = 5, k = 3