← Complete problem index

PROJECT EULER · #0487

Sums of Power Sums

Statement only · SolvedOriginal problem ↗

Let fk(n) be the sum of the kth powers of the first n positive integers.

For example, f2(10)=12+22+32+42+52+62+72+82+92+102=385.

Let Sk(n) be the sum of fk(i) for 1in. For example, S4(100)=35375333830.

What is (S10000(1012)modp) over all primes p between 2109 and 2109+2000?

Write-up coming later

The complete problem is available here. An approach, code, and answer will be added later.