Id: formal-conjectures/OEIS__2426 Url: https://github.com/google-deepmind/formal-conjectures/blob/main/FormalConjectures/OEIS/2426.lean Repo: https://github.com/google-deepmind/formal-conjectures Score: 0 Title: OEIS A2426: Central trinomial coefficients Domain: math.NT Source: formal-conjectures Problem: number=A2426 status=open collection=oeis Reviews: 0 Subject: math.NT Category: research Comments: 0 Disputed: false Division: math Mentions: 0 Discussed: 0 Formalized: true Page: https://delphi.science/r/formal-conjectures/OEIS__2426 Central trinomial coefficients: largest coefficient of $(1 + x + x^2)^n$, which is the coefficient of $x^n$ in the expansion of $(1 + x + x^2)^n$. Central trinomial coefficients: $a(n) = \sum_{k=0}^{\lfloor n/2 \rfloor} \binom{n}{2k} \binom{2k}{k}$. An integer $n > 3$ is prime if and only if $a(n) \equiv 1 \pmod{n^2}$. We have verified this for $n$ up to $8 \cdot 10^5$, and proved that $a(p) \equiv 1 \pmod{p^2}$ for any prime $p > 3$ (cf. A277640). - Zhi-Wei Sun, Nov 30 2016