Problem: The number of solution-pairs in positive integers of the equation 3x+5y=501 is:
Answer Choices:
A. 33
B. 34
C. 35
D. 100
E. none of these.
Solution:
3x=501β5y. For x to be a positive integer 3501β5yβ>0β΄5y<501 and yβ€100. Also x=167βyβ32yβ; for integral x,y must be a multiple of 3 , that is, y=3k. Since yβ€100, k=1,2,β¦,33.
or
In Number Theory it is shown that if x0β,y0β or is one solution of 3x+5y=501, then other solutions are x=x0ββd5βt,y=y0β+d3βt where t is an integer and d is the greatest common divisor of 3 and 5 , so that, in this case, d=1. An obvious solution of the given equation is x=167,y=0. Therefore, other solutions are x=167β5t,y=0+3t. Since x=167β5t>0,t<5167β so that t=1,2,β¦,33.