An Algorithm to Find Sums of Consecutive Powers of Primes

04/22/2022
by   Cathal O'Sullivan, et al.
0

We present and analyze an algorithm to enumerate all integers n≤ x that can be written as the sum of consecutive kth powers of primes, for k>1. We show that the number of such integers n is asymptotically bounded by a constant times c_k x^2/(k+1)/ (log x)^2k/(k+1), where c_k is a constant depending solely on k, roughly k^2 in magnitude. This also bounds the asymptotic running time of our algorithm. We also present some computational results, using our algorithm, that imply this bound is, at worst, off by a constant factor near 0.6. Our work extends the previous work by Tongsomporn, Wananiyakul, and Steuding (2022) who examined consecutive sums of squares of primes.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/24/2023

Faster Algorithms for Bounded Knapsack and Bounded Subset Sum Via Fine-Grained Proximity Results

We investigate pseudopolynomial-time algorithms for Bounded Knapsack and...
research
05/15/2020

Edit Distance in Near-Linear Time: it's a Constant Factor

We present an algorithm for approximating the edit distance between two ...
research
10/07/2020

An Improvement of Reed's Treewidth Approximation

We present a new approximation algorithm for the treewidth problem which...
research
05/22/2021

How Packed Is It, Really?

The congestion of a curve is a measure of how much it zigzags around loc...
research
09/16/2019

Explicit near-Ramanujan graphs of every degree

For every constant d ≥ 3 and ϵ > 0, we give a deterministic poly(n)-time...
research
05/19/2011

Hierarchical Recursive Running Median

To date, the histogram-based running median filter of Perreault and Hébe...
research
06/02/2020

On the Significance of Consecutive Ballots in Paxos

In this paper we examine the Paxos protocol and demonstrate how the disc...

Please sign up or login with your details

Forgot password? Click here to reset