Let $f(n)$ be the number of ways to write $n$ as sum of positive odd integers that each one of them is less than $10$, without any importance to their order. For example: $f(6)=4$ as you can write it as $1+1+1+1+1+1,5+1,3+3,3+1+1+1$. Find a generating function for the series ${f(n)}$.
I've tried finding a recursive relation for $f(n)$ but I got stuck. Thanks
Your $f(n)$ is the coefficient of $x^n$ (I will use the Wilf's notation $[x^n]$) in the product: $$ g(x)=\prod_{k=0}^{4}\sum_{n\geq 0}x^{(2k+1)n} = \prod_{k=0}^{4}\frac{1}{1-x^{2k+1}}\tag{1}$$ $g(x)$ is a meromorphic function with a pole of order $5$ at $x=1$, a pole of order $2$ at $x=\omega$ etc.
You may use the residue theorem to find a partial fraction decomposition for $g(x)$, then recover $[x^n]$ through stars and bars: $$ \frac{1}{(1-\zeta x)^{k+1}}=\sum_{m\geq 0}\binom{k+m}{k}\zeta^m x^m \tag{2}. $$ The main contribute comes from the pole at $x=1$, hence $f(n)$ behaves like a polynomial with degree $4$ in $n$, plus some arithmetical perturbations due to the presence of lower-order poles at the unit circle. Have also a look at restricted partitions.