Show that the number of parts having odd multiplicities in all partitions of $n$ is equal to difference between the number of odd parts in all partitions of $n$ and the number of even parts in all partitions of $n.$
Example: $n=5.$ The number of partitions $5',\quad4'1',\quad3'2',\quad3'11,\quad221',\quad2'1'11,\quad1'1111$ have $10$ parts with odd multiplicities (marked with $'$). On the other hand, the number of odd parts is $15$, $$5,1,3,3,1,1,1,1,1,1,1,1,1,1,1$$ and the number of even parts is $5$, $$4,2,2,2,2.$$ I gave up solving the problem because in this problem parts are taken in all partitions not any single partition. I tried thinking some bijective proof or analytic proof using generating function but gave up as it seems to me a very different problem . Does anyone have any idea? The problem is very nice and it is recently been proposed by George Andrews in Mathstudent Journal (India).
This answer is based upon generating functions. We start by considering the generating function of all partitions of $n$ \begin{align*} \prod_{m=1}^\infty\frac{1}{1-z^m}=\prod_{m=1}^\infty\frac{1}{(1-z^{2m})(1-z^{2m-1})}\tag{1} \end{align*}
Before we show the claim we do a plausibility check and look at partitions of small $n=1,\ldots,5$.
\begin{array}{c|ccc|l} n &[z^n]\left.\frac{\partial}{\partial t}A(z,t)\right|_{t=1} &[z^n]\left.\frac{\partial}{\partial t}B(z,t)\right|_{t=1} &[z^n]\left.\frac{\partial}{\partial t}C(z,t)\right|_{t=1} &partitions\\ 1&1&0&1&1\\ 2&2&1&1&2,1^2\\ 3&5&1&4&3,21,1^3\\ 4&8&4&4&4,31,2^2,21^2,1^4\\ 5&15&5&10&5,41,32,31^2,2^21,21^3,1^5\\ \hline \end{array}
Here we see the coefficients of the power series for $n=1,\ldots,5$ and observe the difference of odd and even parts coincides with the number of odd multiplicities. :-)
The right-most column lists the partitions of $n$ with the compact notation e.g. $21^3$ is a short-hand for $2+1+1+1$.
We observe the claim is valid if the following holds: \begin{align*} \color{blue}{\sum_{k=1}^\infty\frac{z^{2k-1}}{1-z^{2k-1}} -\sum_{k=1}^\infty\frac{z^{2k}}{1-z^{2k}} =\sum_{k=1}^\infty\frac{z^k}{1+z^k}}\tag{2} \end{align*}