Intervals of subset sums and the parity of a signed half sum #
Two small statements on weighted sums of a sign sequence: how an interval of subset sums grows
when an element is adjoined, and the parity of ∑_{c ≤ m} c ε(c) for a sequence of signs.
Main results #
IntervalosFilas.intervalos_a: if the subset sumsΣ(A)contain[α, β]and0 < x ≤ β − α + 1,x ∉ A, thenΣ(A ∪ {x}) ⊇ [α, β + x].IntervalosFilas.SS_symm,IntervalosFilas.intervalos_a_sym:Σ(A)is symmetric undery ↦ P_A − y(P_Athe sum ofA), so an interval reachingP_A / 2extends to[α, P_A − α].IntervalosFilas.filas_parity: for signsε(c) = ±1,∑_{c ≤ m} c ε(c) ≡ (n² − 1)/8 (mod 2)withn = 2m + 1.IntervalosFilas.filas_vanish: the sum vanishes only if the Jacobi symbol(2/n)is1.IntervalosFilas.filas_char: the same forT(m, χ),χa quadratic character modulofwithgcd(f, m!) = 1.
References #
- C. Marín, Zeros of weighted partial sums of completely multiplicative functions: Dirichlet characters, the Euler factor at 2 and Conrey's sine series, Zenodo (2026), doi:10.5281/zenodo.22847374.
lem:intervalos (a) #
@[reducible, inline]
Σ(A): the set of subset sums of a finite set A ⊆ ℕ.
Equations
Instances For
prop:filas #
∑_{c=1}^{m} c = m(m+1)/2, in the form 2 ∑ c = m(m+1).
(n² − 1)/8 = m(m+1)/2 for n = 2m+1.
theorem
IntervalosFilas.filas_vanish
(m : ℕ)
(ε : ℕ → ℤ)
(hε : ∀ c ∈ Finset.Icc 1 m, ε c = 1 ∨ ε c = -1)
(h0 : ∑ c ∈ Finset.Icc 1 m, ↑c * ε c = 0)
:
prop:filas, "so it can vanish only if (2/n) = 1" (Jacobi symbol, n = 2m+1), through
the second supplementary law J(2 | n) = χ₈(n) (jacobiSym.at_two).
T(m, χ) = ∑_{c=1}^{m} c χ(c) for a character χ modulo f.
Equations
- IntervalosFilas.T m χ = ∑ c ∈ Finset.Icc 1 m, ↑c * χ ↑c
Instances For
theorem
IntervalosFilas.filas_char
{f m : ℕ}
(χ : MulChar (ZMod f) ℤ)
(hχ : χ.IsQuadratic)
(hf : f.Coprime m.factorial)
(h0 : T m χ = 0)
:
prop:filas, "In particular". If χ is a quadratic character modulo f with
gcd(f, m!) = 1, then T(m, χ) = 0 forces (2/n) = 1, n = 2m+1. (Primitivity is not used.)