How many "$m$" digit numbers can be formed whose digits sum to "$N$"?
- The collection of these numbers can have preceding zeros .
- The collection of these numbers cannot duplicate multiplicity of digits except when the digit is zero.
e.g. when $m = 5$ and $N = 5$
If $00023$ is chosen, then $00041$ is legal for another choice.
If $00023$ is chosen, then $00203$ is not legal for another choice.
I appreciate any insight into solving this problem. Thanks in advance:)
Edit:
I was told that my question is better posed if I call what I called "numbers" above, functions of the form:
$$f:\quad \{0,1,\ldots,9\}\to{\mathbb N}_{\geq0}$$ ("multisets") satisfying $\sum_{k=0}^9 k f(k)=N$.
Edit $2:$
I'm realizing now that my original question is very general and opens up another dimension of difficulty.
Therefore, I propose specifying this problem such that $$N=m$$ AND $$f:\quad \{0,1,\ldots,k\}\to{\mathbb N}_{\geq0}$$ $$k\quad \epsilon \quad {\mathbb N}_{\geq0}$$
The motivation for this question is to evaluate the number of passive electrical component combinations that use each of $m$ elements in each combination as $N$ grows.
- each component is of like value and type
- each combination is restricted to be a series connection of parallel combinations.
The function $f$ , introduced above, has values at each $f(k)$ that represent the number of parallel elements in the $k^{th}$ link in the series connection.