A396722: a(n) = (4^n/2) * p(n, 5/2), where p(n,x) is the Lagrange interpolating polynomial through (1,0) and (k,1) for k=2..n+1.
Statement
The recurrence conjectured by R. J. Mathar on Jun 30 2026 follows directly from the interpolation conditions. Let p(n,x) be the polynomial in the definition. For n >= 1, we have n*p(n,x) = (n+1-x)*p(n-1,x) + x-1, since both sides are polynomials of degree at most n that agree at x = 1, 2, ..., n+1. Evaluating this at x = 5/2 and using a(n) = 4^n*p(n,5/2)/2 yields n*a(n) - (4*n-6)*a(n-1) = 3*4^(n-1). For n >= 2, subtracting four times this exact identity (with n replaced by n-1) gives n*a(n) - (8*n-10)*a(n-1) + (16*n-40)*a(n-2) = 0, proving the conjecture. · Conjecture D-finite with recurrence n*a(n) +2*(-4*n+5)*a(n-1) +8*(2*n-5)*a(n-2)=0.
Posed by Eiver Rodríguez, R. J. Mathar · OEIS
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-a396722.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-a396722.lean
import Mathlib /-! # A396722: a(n) = (4^n/2) * p(n, 5/2), where p(n,x) is the Lagrange interpolating polynomial through (1,0) and (k,1) for k=2..n+1. Source: https://oeis.org/A396722 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_a396722 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_oeis_a396722