I had a story once about two habitable worlds that shared an orbit like that
All orbiting bodies have a barycenter.
http://en.wikipedia.org/wiki/Barycentric_coordinates_%28astronomy%29