First, consider how many $n$-dimensional vector of non-negative integers $(x_1,x_2,\cdots,x_n)$ are there whose sum of all entries satisfies $x_1+x_2+\cdots+x_n=m$?
For example for $n=2,m=2$, there are $(2,0),(1,1),(0,2)$, so $f(2,2)=3$.
For $n=3,m=2$ there are $(2,0,0),(0,2,0),(0,0,2),(1,1,0),(0,1,1),(1,0,1)$, so $f(3,2)=6$.
How about for general $m,n$? What I know is $f(n,m)\le$ n+m choose n by How many $k-$dimensional non-negative integer arrays $(x_1,\cdots,x_k)$ satisfies $x_1+x_2+\cdots+x_k\le n$
--
Then, I would like a closed form solution for $$\sum_{m=0}^Mf(n,m)$$