The Number of Solutions to ax + by = n
In this note we determine an exact formula for the number of solutions, N(a, ft; n) in nonnegative integer pairs (x,y) of the equation ax + by = n if gcd(a, b) = l. There is no loss of generality in this since ax + by = n is solvable if and only if d=gcd(a, b)\n, so that the number of solutions in general would be given by N(J,-J; •§•). It is well known that N(a, ft; n) is always one of the two consecutive integers [_^J or [-j^J + 1; see, for instance [3, page 214] or [4, page 90]. A history of this and related problems may be found in [2, pages 64-71]. In this note we shall henceforth assume that a, b are positive, relatively prime integers, that n is a nonnegative integer, and prove the following Theorem: AT / i. x n + aa'(ri) + bb f (ri) % L z N(a, ft; n) = ^-- 1, ab
| Type | Journal Article |
|---|---|
| Published | August 01, 2000 |
| Source | The Fibonacci Quarterly |
| Publisher | The Fibonacci Association |
| Volume/Issue | Vol. 38 , Issue 4 , pp. 290-293 |
| DOI | 10.1080/00150517.2000.12428778 |
| OpenAlex ID | W4402623139 |
| Open Access | Closed Access |