The nuclear structure of deformed nuclei has been studied using the interacting boson model (IBM). In this study, energy levels and E2 transition probabilities were determined for even nuclei in the Nd/Sm/Gd/Dy chains which have a transition characteristic between the rotational, SU(3) and vibrational, U(5) limits. The structure of the nuclei exhibits a slight breaking of the SU(3) symmetry in the direction of U(5), and therefore, we add the d-boson number operator n d , which is the main term of the U(5) symmetric Hamiltonian, to the SU(3) Hamiltonian of the IBM. The calculated results for low-lying energy levels and E2 transition rates in Nd/Sm/Gd/Dy isotopes are in reasonably good agreement with known experimental results.