Solution of the equilibrium fuel vector in closed fuel cycles and application to a lead fast reactor