Perfect powers that are sums of consecutive like powers