R-Matrix Expansion for the Ground-State Energy of a Many-Fermion System