Moments expansions for the correlation energy of an exactly solvable problem