Divide 81 into two parts so that one may be a multiple of 8 the other of 5.
Let the two parts be 8x and 5y where x and y are positive integers.
8x+5y=81 ......(i)
Thus 8x5+y=815
⇒3x5+x+y=16+15
⇒3x−15+x+y=16
As x and y are positive integers
⇒3x−15= integer
multiplying by 2
⇒6x−25= integer
x+x−25= integer
x−25= integer
Let the integer be p
⇒x−25=p
⇒x=5p+2 .....(ii)
Substituting x in (i), we have
8(5p+2)+5y=81
⇒5y=65−40p
⇒y=13−8p ......(ii)
From (iii) we can see that y<0 for integer p>1 which is not taken in our case.
So, p can be equal to 0,1.
Substituting p in (ii) (iii), we get
⇒x=2,7
Substituting p in (iii), we get
⇒y=13,5
According to our assumption two parts were 8x and 5y.
So, the two parts are 16,65 and 56,25.