Using a new version of electron gas theory, the effective interaction for finite inhomogeneous many-electron systems is constructed. A system of equations which permit calculation of atomic properties is derived, going beyond the Hartree approximation by taking into account the exchange and correlational corrections.