A mathematical formulation of the nuclear-structure problem in relative co-ordinates