One small sum gives you three answers at once. Set the electron counts, read the bond order, then see the bond length it predicts and whether the sample sticks to a magnet.
Pick a species to begin.
Raise the bond order and the bond gets shorter and stronger.