History of Mathematics
in India IIT Gandhinagar, home

Project Brahmagupta · problem 16

Prime Sign Sums

Ritabrata Munshi studied cancellation in sums over primes, a central theme in analytic number theory where large arithmetic sums remain surprisingly small because oscillations destroy accumulation. In this problem we make that phenomenon concrete and computational. We define:

S(n)=∑2<p≤n(−1)(p−1)/2S(n) = \sum_{2 < p \leq n} (-1)^{(p-1)/2}

where the sum runs over odd primes pp. Equivalently, S(n)S(n) adds +1+1 for primes p≡1(mod4)p \equiv 1 \pmod{4} and −1-1 for primes p≡3(mod4)p \equiv 3 \pmod{4}. Find the smallest nn for which ∣S(n)∣>100|S(n)| > 100.

Try it

Check an answer

Enter a number, or a decimal where the problem asks for one. Only a hash of the answer is kept on this page.

Problem 16 of Project Brahmagupta, published under the Creative Commons Attribution 4.0 licence. No solutions are published.