Treat the blue clay (mass 1, temperature T) as a single lump. Feed it infinitesimal lumps of red clay (mass dX, temperature TR). After each infinitesimal feeding, the temperature of the blue clay changes by
dT=T+TRdX1+dX−T=−TdX+TRdX
(Final equality comes from series expansion).
Then you can integrate: ∫Tfinal0dTTR−T=∫10dX.
i.e. log(TRTR−Tfinal)=1
The final solution is:
Tfinal=TR⋅(1−1/e).
It's worth saying that this is the most efficient way to transfer energy from red to blue because each feeding step is thermodynamically reversible.&nbs... (read more)
Having checked this, you're totally correct.
Here's a short Python program that checks this empirically.
A graph of the scaling of the max blue temperature with respect to number of divisions is here:&nbs... (read more)