Solve in positive integers:
3x+8y=103.
Given equation is 3x+8y=103 ......(i)$
Dividing by 3, we get
x+8y3=1033⇒x+2y+2y3=34+13⇒x+2y+2y−13=34
We have to solve for positive integers, so x and y are integers
which 2y−13= integer
On multiplying by 2, we get
4y−23= integer
y+y−23= integer
⇒y−23= integer
Let the integer be p
y−23=p⇒y=3p+2 .......(ii)
Substituting y in (i)
3x+8(3p+2)=1033x=87−24px=29−8p ......(iii)
From (ii) we see that y<0 for integers <0 and from (iii) we see that x<0 for p>3 which is not possible as we are solving for positive integers only.
So, p can be equal to 0,1,2,3.
Substituting p in (ii), we get
⇒y=2,5,8,11
Substituting p in (iii)
⇒x=29,19,13,5
So, the complete solution set of positive integers is
{x=29,21,13,5y=2,5,8,11