I've been dabbling with linear Diophantine equations and came across a rather interesting pattern that I would like to conjecture as true but I have no idea how about to come up with a proof.
Let $ax+by=c$ be the linear Diophantine equation such that $gcd(a,b)=1$. Obviously $1|c$ so there are solutions to the equation. If we consider only positive solution pairs (x,y) for the equation, then the number of ordered pairs that satisfy the equation is equal to (c/a)/b, rounded down to the nearest integer.
Can anyone verify this by counterexample or by proof? Thanks
The specific proposed solution is false, as can be seen by a counterexample like $c=5$, $a=2$, $b=3$. More generally the number of solutions, while rather well-behaved, does not increase monotonically, also not for larger $c$; there is some (minor) fluctuation.
The number of solutions of a linear Diophantine equation $$a_1x_1 + \dots +a_m x_m = n$$ in non-negative integers is referred to as denumerant (sometimes also Sylvester's Denumerant). Whether one asks for positive or non-negative solutions does not change much as one can just adjust the $n$.
The quantity is a quasi-polynomial of degree $m-1$, so in the present case linear. Quasi-polynomial mean roughly that there is a modulus such that on the respective residue classes it is an actual polynomial. The modulus is the LCM of the coefficients so in this case $ab$.
With the term "denumerant", which I learned from Gerry Myerson on a site close by some time ago, at hand plenty of further information is readily accessible, so I stop here.
The question Count the number of positive solutions for a linear diophantine equation (already provided in comments by A.P.) also provides relevant information, in particular the key-word Ehrhart Polynomials and Ehrhart Quasi-Polynomials.