A082031: Expansion of e.g.f. exp(2*x)/(1-x)^3.
Statement
From Peter Bala, Sep 20 2013: a(n) = (1/2)*( Sum{k = 0..n} (k+2)!*binomial(n,k)*2^(n-k) ). Based on this series the ZeilbergerRecurrence command in Maple 17 produces the first-order recurrence (n^2 - 3*n + 4)*a(n) = 2^(n+2) + n*(n^2 - n + 2)*a(n-1). Using this it is easy to verify the second-order recurrence conjectured above by Mathar. The sequence b(n) := n!*(1 + n*(n-1)/2) = n!*A000124(n-1) also satisfies Mathar's recurrence equation but with starting values b(0) = b(1) = 1. This yields the finite continued fraction expansion a(n)/b(n) = 1/(1 - 4/(5 - 2/(6 - 4/(7 - ... - (2*n - 2)/(n + 4) )))), valid for n >= 2. Lim{n -> infinity} a(n)/b(n) = e^2 = 1/(1 - 4/(5 - 2/(6 - 4/(7 - ... - (2*n - 2)/(n + 4 - ...))))). It can be shown that a(n+1)/b(n+1) = 1 + 16*( Sum{k = 0..n} 2^k/((k + 1)!*(k^4 + 3*k^2 + 4)) ). Taking the limit gives the series acceleration result e^2 = 1 + 16*( Sum{k = 0..i
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-a082031.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-a082031.lean
import Mathlib /-! # A082031: Expansion of e.g.f. exp(2*x)/(1-x)^3. Source: https://oeis.org/A082031 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_a082031 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_oeis_a082031