3

How do we find the number of non-negative integer solutions for linear equation of the form:

$$a \cdot x + b \cdot y = c$$

Where $a, b, c$ are constants and $x,y$ are the variables ?

  • 2
    Generating functions might help - the count is the coefficient of $x^c$ in $\dfrac{1}{(1-x^a)(1-x^b)}$. – Thomas Andrews Jul 22 '13 at 21:03
  • Is there a known case where the number of solutions is not either $0$ or $\infty$? If $a,b,c \in \mathbb{Q}$, then any time $b | ka(1-c)$, $k\in\mathbb{N}$, then both $x$ and $y$ are integer solutions and I think there are infinitely many values of $k$ that solve the above. If any of the coefficients are irrational, then there are no integer solutions. – AnonSubmitter85 Jul 22 '13 at 21:15
  • @AnonSubmitter85 - Yes, the number of sols is not either 0 or Infinity – darthy734 Jul 22 '13 at 21:17
  • 1
    @AnonSubmitter85, note that $x, y \ge 0$, so there are not infinitely many solutions. – George V. Williams Jul 22 '13 at 21:17
  • Have you found any answers for specific situations? For instance, if we assume that $a,b,c \in \mathbb{Q}$ and that $y = k \cdot \operatorname{lcm}(b_n,b_d)$, where $b = b_n/b_d$ and $k \in \mathbb{N}$, can you find ranges of $a$ and $c$ such that there are infinitely many or zero solutions? – AnonSubmitter85 Jul 22 '13 at 22:09

2 Answers2

2

Not a complete answer, but a relatively simple one and approximate one. By Schur's theorem of combinatorics?, the number of solutions is asymptotically ($c \to \infty$):

$$ \frac{c}{ab} $$


Schur's theorem of combinatorics states that the number of solutions of (with $a_i$ relatively prime):

$$ \sum_{i=1}^M a_i x_i = c $$

is:

$$ \frac{c^{M-1}}{(M-1)!\prod a_i} $$


? This name is used by Wilf's Generatingfunctionology, but I cannot seem to find it elsewhere. It appears that Schur has many theorems.

-1

You might be looking for Diophantine equations.

Check this link or this for an explanation!