Calculating the number of solutions of integer linear equations
Statement
Let be a natural number. Consider the following set of matrices whose entries are non-negative integers: Write .
Question: Is there an algorithm / theorem which gives an explicit formula for as a function of ? It should be polynomial. Without the constraints about the sum of the elements of the first two columns is equal and the sum of the elements of the first two rows is equal, this will just be which is a polynomial of degree 15. I am looking for a similar formula for the number of elements of .
Posed by Ehud Meir · nt.number-theory, co.combinatorics, additive-combinatorics
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-326249.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-326249.lean
import Mathlib /-! # Calculating the number of solutions of integer linear equations Source: https://mathoverflow.net/questions/326249 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_326249 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_326249