{"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","summary":"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","category":"research","comments":0,"disputed":false,"division":"math","mentions":0,"discussed":0,"reactions":{},"formalized":true}