Divisor sums over N − k² modulo 4 for N ≡ 6 (mod 8): a proof of a conjecture of Jirattikansakul, Kittipassorn, Kongsiri, Moonwichit and Sriamorn
Let S(N) = ∑_{1≤k<√N} σ0(N − k²), where σ0(m) is the number of positive divisors of m. Jirattikansakul, Kittipassorn, Kongsiri, Moonwichit and Sriamorn proved that S(N) ≡ 0 (mod 4) for N = An + B with (A, B) ∈ {(16, 14), (36, 30), (72, 42), (196, 70), (252, 114)}, and they conjectured that S(N) ≡ 0 (mod 4) for all N = 16n + 6 (their Conjecture 7). We prove this conjecture. More generally, we prove that S(N) ≡ 0 (mod 4) for every N ≡ 6 (mod 8), as their computations suggest. The class N ≡ 14 (mod 16) is their case (16, 14), so for that class our proof is a new proof of a known result. Their proof uses a congruence of Keith for partitions into exactly two part sizes, which was proved with modular forms. Our proof is elementary. It counts the solutions of k² + ab = N with involutions, one of which is Zagier's involution from his one-sentence proof of Fermat's two-squares theorem. Lean 4 with Mathlib checks the theorem and Conjecture 7 from the definitions, with only the standard axioms. With Theorem 4 of the source, the result gives ν2(N) ≡ −σ1(N)/2 (mod 4) for all N ≡ 6 (mod 8), where ν2(N) is the number of partitions of N with exactly two part sizes. This consequence is not checked in Lean. This work has not yet been reviewed by experts. The computations, the proofs and the text were produced by AI models (from Anthropic and OpenAI), working under the author's direction. Code, checks and source: https://github.com/KenWuqianghao/kenwu-lab/tree/square-plus-product-divisors-v1/results/square-plus-product-divisors
Authors
- Qianghao Wu
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-27
- DOI
- https://doi.org/10.5281/zenodo.24580853
- Primary Topic
- Analytic Number Theory Research
- Type
- preprint