About the sum $S(p_n)=\sum_{1\le k\lt n}\,p_n\mod\;p_k$
Statement
For let's define the sum , where represents the -th prime.
The first terms of the sequence (OEIS A033955 - sum of the remainders when the -th prime is divided by primes up to the -th prime) are:
The graphical representation of up to is the following:
The growing of is well estimated by
Further, the modular equation has, up to , only the following solutions:
I ask if the previous results, (1) and (2), can be motivated from a theoretical point of view.
Many thanks.
Posed by Augusto Santi · nt.number-theory, prime-numbers, 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-355412.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-355412.lean
import Mathlib
/-!
# About the sum $S(p_n)=\sum_{1\le k\lt n}\,p_n\mod\;p_k$
Source: https://mathoverflow.net/questions/355412
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_355412
-- definitions the statement needs (no sorry, no axiom)
theorem main : sorry := by
sorry
end OMA.S_mo_355412