(a,b) The mean residence time τp (bottom two lines) for a counterion to stay within a distance of rc +δ (rc=counterion radius) from the surface of the respective phosphate group, and the mean residence time τ⊥ (upper two lines) for a counterion to stay within a radial distance of rc+δ from the polyelectrolyte surface. Solution conditions are (a) Na+ and (b) Mg2+, with salt concentrations c0=0.001M (solid lines) and 0.1M (dashed lines). Both τ⊥ and τp are scaled as number of Monte Carlo steps. (c–f) Three characteristic distances of counterions (in unit of angstrom): the distance Δp of tightly bound counterions from the respective phosphate sphere centers (black lines); the distance Δz in the axis direction (gray lines); and the radial distance Δr of counterions from DNA axis (light gray lines). (c) [Na+]=0.001M; (d) [Na+]=0.1M; (e) [Mg2+]=0.001M; (f) [Mg2+]=0.1M. The counterions, which reside in the layer with thickness δ=2 Å, are tracked in the simulations, and the tracking process is performed after the system reaches thermal equilibrium.