Let SSS be the total number of coins and kkk the number of boxes. A merge reduces SSS by 222 and kkk by 111, so S−2kS-2kS−2k never changes.
If kkk boxes remain, they contain S−2(n−k)S-2(n-k)S−2(n−k) coins. Each must contain at least one coin, so
S−2(n−k)≥k,k≥2n−S.S-2(n-k)\ge k,\qquad k\ge 2n-S.S−2(n−k)≥k,k≥2n−S.
At least one box must remain. Thus max(1,2n−S)\max(1,2n-S)max(1,2n−S) is a lower bound.