A032086: Number of reversible strings with n beads of 3 colors. If more than 1 bead, not palindromic.
Statement
Conjectures from Colin Barker, Apr 02 2012: a(n) = 3*a(n-1) + 3*a(n-2) - 9*a(n-3) for n > 4. G.f.: 3*x*(1 - 2*x - 3*x^2 + 9*x^3)/((1 - 3*x)*(1 - 3*x^2)). · Conjectures from Colin Barker, Mar 09 2017: a(n) = (2*3^n - 2*3^(n/2)) / 4 for n > 2 and even. a(n) = (2*3^n - 2*3^((n+1)/2)) / 4 for n > 2 and odd. · The above conjectures are true: The second set follows from the definition and the first set can be derived from that.
Posed by Andrew Howroyd · 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-a032086.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-a032086.lean
import Mathlib /-! # A032086: Number of reversible strings with n beads of 3 colors. If more than 1 bead, not palindromic. Source: https://oeis.org/A032086 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_a032086 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_oeis_a032086