A321773: Number of compositions of n into parts with distinct multiplicities and with exactly three parts.
Statement
Conjectures from Colin Barker, Dec 11 2018: G.f.: x^3*(1 + 3*x + 5*x^2) / ((1 - x)^2*(1 + x)*(1 + x + x^2)). a(n) = a(n-2) + a(n-3) - a(n-5) for n>7. · Conjecture: a(n) = (3*n-k)/2 where k value has a cycle of 6 starting from n=3 of (7,6,3,10,3,6). · From Jonathan Jenkins, Aug 09 2026: The above conjectures are correct. a(n) = 3*floor((n-1)/2) - 2 if n == 0 (mod 3), otherwise a(n) = 3*floor((n-1)/2), for n >= 3.
Posed by Bill McEachen · 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-a321773.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-a321773.lean
import Mathlib /-! # A321773: Number of compositions of n into parts with distinct multiplicities and with exactly three parts. Source: https://oeis.org/A321773 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_a321773 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_oeis_a321773