A112647: a(n)=x is the smallest solution to abs(sigma(x+1)-sigma(x))=n, or 0 if no solution exists.
Statement
The known values plus conjectured zero values are: 14, 2, 1, 3, 6, 9, 5, 7, 62, 0, 13, 25, 22, 16, 12, 32, 11, 0, 104, 18, 837, 17, 19, 63, 46, 0, 28, 0, 116, 24, 58, 31, 2222, 0, 39, 242, 23, 0, 147, 0, 30, 675, 29, 35, 52, 0, 777, 0, 40, 0, 435, 0, 42, 36, 41, 0, 91, 0, 67, 0, 65, 99, 0, 195, 110, 80, 53, 48, 124, 0, 243, 0, 70, 97.
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/oeis-a112647.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Text: OEIS Foundation, CC BY-SA 4.0. 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/oeis-a112647.lean
import Mathlib /-! # A112647: a(n)=x is the smallest solution to abs(sigma(x+1)-sigma(x))=n, or 0 if no solution exists. Source: https://oeis.org/A112647 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_oeis_a112647 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_oeis_a112647