When adding the equations for thin lenses in contact, the intermediate image term $\frac{1}{v_1}$ always cancels out nicely. This principle scales infinitely: for $n$ lenses in contact, the net focal length is simply $\frac{1}{F} = \sum \frac{1}{f_i}$.