A179535: a(n) = Sum_{k=0..n} binomial(n,k)^2 * binomial(n-k,k)^2 * 81^k.
Statement
On Jul 17 2010, Zhi-Wei Sun introduced this sequence and made the following conjecture: If p is a prime with p=1,9,11,19 (mod 40) and p = x^2+10y^2 with x,y integers, then Sum{k=0..p-1} a(k) == 4x^2-2p (mod p^2); if p is a prime with p == 7,13,23,37 (mod 40) and 2p = x^2 + 10y^2 with x,y integers, then Sum{k=0..p-1} a(k) == 2p - 2x^2 (mod p^2); if p is an odd prime with (-10/p)=-1, then Sum{k=0..p-1} a(k) == 0 (mod p^2). He also conjectured that Sum{k=0..n-1} (10k+9)*a(k) == 0 (mod n) for all n=1,2,3,... and that Sum_{k=0..p-1} (10k+9)*a(k) == p(4(-2/p)+5) (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-a179535.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-a179535.lean
import Mathlib
/-!
# A179535: a(n) = Sum_{k=0..n} binomial(n,k)^2 * binomial(n-k,k)^2 * 81^k.
Source: https://oeis.org/A179535
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_a179535
-- definitions the statement needs (no sorry, no axiom)
theorem main : sorry := by
sorry
end OMA.S_oeis_a179535