An Algorithm to Find Sums of Powers of Consecutive Primes
We present and analyze an algorithm to enumerate all integers that can be written as the sum of consecutive th powers of primes, for . We show that the number of such integers is asymptotically bounded by a constant times where is a constant depending solely on , roughly in magnitude. This also bounds the asymptotic running time of our algorithm. We also give a lower bound of the same order of magnitude, and a very fast algorithm that counts such . Our work extends the previous work by Tongsomporn, Wananiyakul, and Steuding (2022) who examined sums of squares of consecutive primes.