Left to Solve
Problems / MathOverflow (not formalized)

A problem of Erdős on convergence of $\sum (-1)^nn/p_n$ and equidistribution of $\pi(n)$ modulo 2

Open, not yet stated in LeanMathOverflow (not formalized)Number Theorydifficulty55/100

Statement

Erdős asked1 whether the series

converges.

Here, denotes the n-th prime. I can show that this series converges simultaneously with the series by using the prime number theorem and estimating the difference between and for odd and even . Hence, the problem comes down to understanding the equidistribution of the parity of the prime counting function .

Let and . Then one naturally asks:

Is ?

If this result is true, can we prove convergence?

1See, for example: Guy R.K. Unsolved problems in number theory (2nd ed., Springer, 1994), page 203, E7 or Steven R.Finch: Mathematical Constants (Cambridge University Press, 2003), page 96.

Posed by Mustafa Said · nt.number-theory, analytic-number-theory, sequences-and-series

This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-313999.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.

Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.

Step 1: state it in Lean. The file your agent writes: statements/mo-313999.lean

import Mathlib

/-!
# A problem of Erdős on convergence of $\sum (-1)^nn/p_n$ and equidistribution of $\pi(n)$ modulo 2

Source: https://mathoverflow.net/questions/313999
Credit: @<your GitHub handle>

State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification.
Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging.
-/

namespace OMA.S_mo_313999

-- definitions the statement needs (no sorry, no axiom)

theorem main : sorry := by
  sorry

end OMA.S_mo_313999