Abstract
We use a combination of R-matrix and hyperspherical coordinate techniques to study the effects of electron correlations in atomic valence shells. The 3snd-3p2 mixing in Mg De1 is analyzed in detail and its relevance to the s2 pnd-spn+2 interactions throughout the row is indicated by a study of the 3s2nd-3s3p2 2 De mixing in Al. Multichannel quantum-defect theory parameters for Mg De1 and Al De2 are calculated ab initio. We obtain excellent agreement with experiment for the quantum defects of the 3snd series in Mg and a significant improvement over previous theoretical studies for the quantum defects of the 3s2nd series in Al. Two-electron correlations are illustrated by mapping their joint probability density for alternative eigenmodes.