A208675: Number of words, either empty or beginning with the first letter of the ternary alphabet, where each letter of the alphabet occurs
Statement
From Peter Bala, Apr 05 2022: a(n) = Sum{k = 0..n} binomial(n,k)*binomial(n-1,k)*binomial(n+k-1,k). Using binomial(-n,k) = (-1)^k*binomial(n+k-1,k) for nonnegative k, we have: a(-n) = Sum{k = 0..n} binomial(-n,k)*binomial(-n-1,k)*binomial(-n+k-1,k). a(-n) = Sum{k = 0..n} (-1)^k* binomial(n+k-1,k)*binomial(n+k,k)*binomial(n,k) a(-n) = (-1)^n*A108628(n-1), for n >= 1. a(n) = Sum{k = 1..n} binomial(n,k)*binomial(n-1,k-1)*binomial(n+k-1,k-1) for n >= 1. Equivalently, a(n) = [(x^n)*(y*z)^(n-1)] (x + y + z)^n*(x + y)^(n-1)*(y + z)^(n-1) for n >= 1. a(n) = Sum_{k = 0..n-1} (-1)^k*binomial(n-1,k)*binomial(2*n-k-1,n-k)^2. a(n) = (1/5)*(A005258(n) + 2*A005258(n-1)) for n >= 1. a(n) = [x^n] 1/(1 - x)*P(n-1,(1 + x)/(1 - x)) for n >= 1, where P(n,x) denotes the n-th Legendre polynomial. Compare with A005258(n) = [x^n] 1/(1 - x)*P(n,(1 + x)/(1 - x)). a(n) = B(n,n-1,n-1) in the notation of Straub, equa
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-a208675.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-a208675.lean
import Mathlib /-! # A208675: Number of words, either empty or beginning with the first letter of the ternary alphabet, where each letter of the alphabet occurs Source: https://oeis.org/A208675 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_a208675 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_oeis_a208675