I'm trying to show the processes in the following rows are different.
On the left column there are two boxes of $12$ particles each. Both boxes are divided in three imaginary and equal rooms with $V_1=\frac{V_b}{3}$, where $V_b$ is the box volume.
In the first-row experiment a box is attached the particles re-distribute over. Then we separate the boxes. The final number of particles is $6$ in each one, in average.
In the second-row process we complicate things a little bit:
- An empty room with $V=\frac{V_b}{3}$ is attached,
- Then separate the room,
- This process is repeated twice.
Conclusion
If it is supposed that particles spread over the whole box on each time, then more particles are lost in the second process.
Why?
First hypothesis: if it is an ideal gas, to compute what process is 'more spontaneous' we need this formula $$S\times dT=P\times dV $$
Second: I have calculated the second process is higher in entropy. We are at the same temperature in each case, so it is the only contribution to gibbs free energy.
Is this reasoning correct?