New deterministic algorithm decides parity of prime counting function in x^o(1) time

xennygrimmato_ · x · 2026-11-06

A new deterministic algorithm decides whether the number of primes up to x is odd or even in x^o(1) time — for n-bit x, down from the previous best of √x = 2^(n/2) (exponential in n) to 2^(n/√log n). Key insight: building on Polymath4 (Tao, Croot, Helfgott), which needed μ(d) for every d ≤ √x, the author notes that mod 2 μ(d) just asks whether d is squarefree — the same question at half the size. Applied log n times, π(x) mod 2 reduces to a single count. Paper released.

Related event: Breakthrough Prime Parity Algorithm in x^o(1) Time Written Entirely by Claude Code(4 posts)→

Original post →

More from Research

Research channel →