Id: formal-conjectures/OEIS__28859 Url: https://github.com/google-deepmind/formal-conjectures/blob/main/FormalConjectures/OEIS/28859.lean Repo: https://github.com/google-deepmind/formal-conjectures Score: 0 Title: OEIS A28859: Combinatorial representation of the recurrence $a(n+2) = 2a(n+1) + 2a(n)$ Domain: math.NT Source: formal-conjectures Problem: number=A28859 status=solved collection=oeis Reviews: 0 Subject: math.NT Category: research Comments: 0 Disputed: false Division: math Mentions: 0 Discussed: 0 Formalized: true Formalizations: https://github.com/mo271/formal-conjectures/blob/a32396489dcb8f86c3549b93aa358ac6a10a3a1f/FormalConjectures/OEIS/28859.wip.lean#L402 Page: https://delphi.science/r/formal-conjectures/OEIS__28859 A028859 (OEIS): $a(n+2) = 2 \cdot a(n+1) + 2 \cdot a(n)$; $a(0) = 1$, $a(1) = 3$. Conjecture: The sequence a(n) is also the number of compositions of $n$ into positive integers such that adjacent parts and the largest part differ by at most 1. - _Gus Wiseman_, May 19 2020 A formal proof has been found with the methods described in arxiv/2605.22763.