Left to Solve
Problems / MathOverflow (not formalized)

The congruence $\mathrm{per}[|j-k|]_{1\le j,k\le p}\equiv-1/2\pmod p$ with $p$ an odd prime

Open, not yet stated in LeanMathOverflow (not formalized)Number Theorydifficulty55/100

Statement

For a matrix , its permanent is given by

Let be an odd prime. I have proved the congruences \begin{align}\mathrm{per}[j+k]_{1\le j,k\le p-1}\equiv&-2-4(p-1)!\pmod{p^2},\tag{1} \\\mathrm{per}[j+k]_{1\le j,k\le p}\equiv& p\pmod{p^2},\tag{2} \\\mathrm{per}[j+k]_{0\le j,k\le p-1}\equiv&-p\pmod{p^2}.\tag{3} \end{align} Motivated by this, I make the following conjecture.

Conjecture. For any odd prime , we have

Remark. I have verified for . My method to prove - does not work for the congruence .

QUESTION. How to prove the congruence for each odd prime ?

I only ask how to prove . Please ignore - since I have already proved them completely.

Posed by Zhi-Wei Sun · nt.number-theory, prime-numbers, congruences, permanent

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/mo-402745.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.

Question text by its MathOverflow author (CC BY-SA); see the link. 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/mo-402745.lean

import Mathlib

/-!
# The congruence $\mathrm{per}[|j-k|]_{1\le j,k\le p}\equiv-1/2\pmod p$ with $p$ an odd prime

Source: https://mathoverflow.net/questions/402745
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_mo_402745

-- definitions the statement needs (no sorry, no axiom)

theorem main : sorry := by
  sorry

end OMA.S_mo_402745