It is also useful to think in terms of the magnification, m. m = d_image / d_object. You can then rewrite the thin lens equation as:
1/f = 1/d_obj * 1/(m * d_obj)
and also find that, d_image = f * (1+m),
and the extension past infinity is e = m * f.
With a little algebra, the thin lens equation then gives: d_obj = f * (f/e + 1).
That means that, when you are at non-macro distances and f/e is largish, the extension required to focus at a given lens to object distance goes up roughly as the square of the focal length. This is why long focal length lenses need a lot of bellows (and also why they have shallow depth of field in the image space, but that's another story).