A179536: a(n) = Sum_{k=0..n} binomial(n,k)^2*binomial(n-k,k)^2*(-324)^k.
Statement
On Jul 17 2010, Zhi-Wei Sun introduced this sequence and made the following conjecture: If p is an odd prime with (p/13) = (-1/p) = 1 and p = x^2 + 13y^2 with x,y integers, then Sum{k=0..p-1} a(k) == 4x^2 - 2p (mod p^2); if p is an odd prime with (p/13) = (-1/p) = -1 and 2p = x^2 + 13y^2 with x,y integers, then Sum{k=0..p-1} a(k) == 2x^2 - 2p (mod p^2); if p > 3 is a prime with (p/13) = -(-1/p), then Sum{k=0..p-1} a(k) == 0 (mod p^2). He also conjectured that Sum{k=0..n-1} (260k+237)*a(k) == 0 (mod n) for all n=1,2,3,... and that Sum_{k=0..p-1} (260k+237)*a(k) == p(130(-1/p)+107) (mod p^2) for any prime p > 3.
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-a179536.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-a179536.lean
import Mathlib
/-!
# A179536: a(n) = Sum_{k=0..n} binomial(n,k)^2*binomial(n-k,k)^2*(-324)^k.
Source: https://oeis.org/A179536
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_a179536
-- definitions the statement needs (no sorry, no axiom)
theorem main : sorry := by
sorry
end OMA.S_oeis_a179536