Abstract

We present and analyze an algorithm to enumerate all integers n≤xn\le x that can be written as the sum of consecutive kkth powers of primes, for k>1k>1. We show that the number of such integers nn is asymptotically bounded by a constant times ckx2/(k+1)(log⁡x)2k/(k+1), c_k \frac{ x^{2/(k+1)} }{ (\log x)^{2k/(k+1)} }, where ckc_k is a constant depending solely on kk, roughly k2k^2 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 nn. Our work extends the previous work by Tongsomporn, Wananiyakul, and Steuding (2022) who examined sums of squares of consecutive primes.

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.