On certain atomic integrals involving products of rij