A211433: Number of ordered triples (w,x,y) with all terms in {-n,...,0,...,n} and w+2x+4y=0.
Statement
Also, a(n) is the number of ordered pairs (w,x) with both terms in {-n,...,0,...,n} and w+2x divisible by 4. If (w,x) is such a pair it is easy to see that (-w,x), (-w,-x), and (w,-x) also are such pairs. The number of pairs with both w and x positive is given by A211521(n). If w=0, x must be even, and if x=0, w must be divisible by 4. This means that a(n) = 4*A211521(n) + 2*floor(n/2) + 2*floor(n/4) + 1. Since the sequences A211521(n), floor(n/2), floor(n/4), and the constant sequence all satisfy the recurrence conjectured in the formula section, a(n) must also satisfy the recurrence, so this proves the conjecture. · Conjectures from Colin Barker, May 15 2017: G.f.: (1 + 5*x^2 + 4*x^3 + 5*x^4 + x^6) / ((1 - x)^3*(1 + x)^2*(1 + x^2)). a(n) = a(n-1) + a(n-2) - a(n-3) + a(n-4) - a(n-5) - a(n-6) + a(n-7) for n>6.
Posed by Pontus von Brömssen · 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-a211433.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-a211433.lean
import Mathlib
/-!
# A211433: Number of ordered triples (w,x,y) with all terms in {-n,...,0,...,n} and w+2x+4y=0.
Source: https://oeis.org/A211433
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_a211433
-- definitions the statement needs (no sorry, no axiom)
theorem main : sorry := by
sorry
end OMA.S_oeis_a211433