A347684: Array read by antidiagonals: T(n,k) (n>=1, k>=1) = f(n,k), where f(x,y) = x*redinv(x,y) + y*redinv(y,x) if gcd(x,y)=1, or 0 if gcd
Statement
Conjecture: The entries of this array can be expressed in terms of A347683 and A347687 as follows. Write k = j*n+i, where j >= 0 and 1 <= i <= n. Then T(n,k) = A347683(n,i) + 2*n*j*A347687(n,i). For example, suppose n=3, k=11, so k = 3*3+2, with j=3, i=2. Then A347683(3,2) + 2*3*3*A347687(3,2) = 5 + 2*3*3*1 = 23, which is indeed T(3,11).
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-a347684.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-a347684.lean
import Mathlib /-! # A347684: Array read by antidiagonals: T(n,k) (n>=1, k>=1) = f(n,k), where f(x,y) = x*redinv(x,y) + y*redinv(y,x) if gcd(x,y)=1, or 0 if gcd Source: https://oeis.org/A347684 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_a347684 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_oeis_a347684