def monomial_count(V, N):
 from sympy import factorial
 return ((factorial((V + N)) / factorial(V)) / factorial(N))

def monomial_count ( V , N ) : from sympy import factorial return ( ( factorial ( ( V + N ) ) / factorial ( V ) ) / factorial ( N ) )
computes the number of monomials .