On an Energy Problem with Riesz External Field