The combinatorial method to compute the sum of the powers of primes
Official code: alexey-orlov-math/the-combinatorial-method-to-compute-the-sum-of-the-powers-of-primes (0 stars, C++, MIT, last commit 2021-12-01).
Abstract
We will generalize the combinatorial algorithms for computing $π(x)$ to compute sums ${F(x) = \sum_{p \leq x} p^k}$ for $k \in \mathbb{Z}_{\geq 0}$. The detailed exposition of algorithms is included along with implementation details.