Lets say that $p(n)$ is the number of ways of partitioning $n$ into integers (order doesn't matter).
How does one prove that $$p(n) \equiv p(n|\text{distinct odd parts}) \mod 2$$?
For $n=1$, there's only one partition with one part, $1$. And this is also a partition into distinct odd parts.
For $n=2$, there are $2$ partitions and $0$ partitions into distinct odd parts.
For $n=3$, there are $3$ partitions and $1$ partition into distinct odd parts (partition into a single part $3$)
For $n=4$, there are $5$ partitions and $1$ partition into distinct odd parts ($3+1$)
and so on. This seems to hold for small $n$, I calculated it by hand.
I don't really know how to prove this though. One thing one might prove is that $$p(n|\text{odd parts with at least one part occurring twice})+p(n|\text{at least one even part}) \equiv 0\mod2$$
But I don't know how to prove that either. I'm looking for a solution that doesn't invoke generating functions, but a solution with generating functions is welcome. Any help is very appreciated, thanks!
The number of partitions of $n$ into distinct odd parts equals the number of self-conjugate partitions of $n$. The number of non-self-conjugate partitions of $n$ is even.