Assume you have 2 identical metal cubes, the only difference being their temperatures $T_1 = 0 \, \text{°C}$, $T_2 = 100 \, \text{°C}$:
The task is now to transfer as much heat as possible to the initially colder metal cube with just the heat from the initially hotter one. So far, it seems like the hottest you can get the first cube is $T_1 = 50 \, \text{°C}$ if you bring the two cubes together and let their temperature equilibrate:
But you are also allowed to split both of these cubes into any number you want. Let's assume that – contradicting physics – the splitting and recombining of parts does neither require nor release energy. You are allowed to bring together any combination of parts from any of the cubes and let their temperatures equilibrate. But in the end you have to bring together all pieces belonging to the initially colder cube and get one final $T_1$.
One simple example where the total heat transfer is more than the previously achieved $50 \, \text{°C}$ is the following: You split up the hot cube into 2 equal parts with temperatures $T_{21} = T_{22} = 100 \, \text{°C}$:
Then you connect one hot part with the cold cube and get an average temperature of $T_1 = T_{22} = 33 \frac{1}{3} \, \text{°C}$:
Then these are detached and the other part of the hot cube transfers energy to the cold one, so that it ends up with $T_1 = 55 \frac{5}{9} \, \text{°C}$:
Now the question: What is the hottest temperature $T_1$ that you can achieve? Describe your scheme and proof your claim! Give an expression for the final temperature $T_1 (n_1, n_2)$ in dependence of the number of splittings of the first ($n_1$) and second ($n_2$) cube.
This question is inspired by Ron Maimon's answer to a question on Physics Stackexchange.