In this paper, we examine the distribution of nuclei’s charge (the quadrupole moment of nuclei) for stable nuclei with [Formula: see text] when interacting with the [Formula: see text]O nuclei. The interaction potential between the nuclei was achieved using the double-folding method. The wave functions of the interacting nuclei were replaced by the density functions in the double-folding model. The wave functions of the interacting nuclei were obtained through the D-dimensional Schrödinger equation with the pseudo-Coulomb potential plus ring-shaped potential by the Nikiforov–Uvarov solution method.