Let $n\in\mathbb{N}$ be a positive integer. Denote by $f(n)$ the number of integral solutions of the following system $$ \left\lbrace\begin{array}{l} \sum_{i=1}^nx_i = 3n; \\ \sum_{i=1}^n (2i-1)x_i = n(n+2); \\ x_1\geq x_2\geq \dots \geq x_n\geq 0. \end{array}\right. $$ Is there any result on the asymptotic behavior of $f(n)$?
If we remove from the system se second equations we get the partitions of $3n$ in at most $n$ parts and the question basically boils down to Solutions of a linear diophantine equation which has been fully answered.
Thank you.