Left to Solve
Problems / MathOverflow (not formalized)

Minimum possible nonnegative value of $\pm a_1 \pm a_2 \pm \cdots \pm a_n$ for sufficiently large $n$

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

Statement

Conjecture. Let denote the minimum possible nonnegative value of on all possible signs for a sequence of positive integers such that , , and define the quantity where . If is sufficiently large then The only exceptional cases seem to be , in which case

I mean that is equal to , not just modulo .

I have tested this conjecture for sequences like and where denotes the th prime and it seems true.

The reason for the condition is to prevent cases like and the reason for the condition $\lim_{n …

Posed by John C · nt.number-theory

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-504014.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-504014.lean

import Mathlib

/-!
# Minimum possible nonnegative value of $\pm a_1 \pm a_2 \pm \cdots \pm a_n$ for sufficiently large $n$

Source: https://mathoverflow.net/questions/504014
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_504014

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

theorem main : sorry := by
  sorry

end OMA.S_mo_504014