Quadrupling and pairing in the shell model