Given that m and n are integers and (m+2n)(2m+n)=27.
Since both factors are integers, we list all integer factor pairs (a,b) such that a×b=27:
(1,27), (27,1), (3,9), (9,3), (−1,−27), (−27,−1), (−3,−9), (−9,−3)
Let m+2n=a and 2m+n=b.
From these two equations:
3m=2b−a⟹m=32b−a
3n=2a−b⟹n=32a−b
For m and n to be integers, both (2b−a) and (2a−b) must be divisible by 3. This happens only when (a+b) is divisible by 3.
Checking each factor pair for this condition:
(1,27)→a+b=28 -- not divisible by 3
(27,1)→a+b=28 -- not divisible by 3
(3,9)→a+b=12 -- divisible by 3
(9,3)→a+b=12 -- divisible by 3
(−1,−27)→a+b=−28 -- not divisible by 3
(−27,−1)→a+b=−28 -- not divisible by 3
(−3,−9)→a+b=−12 -- divisible by 3
(−9,−3)→a+b=−12 -- divisible by 3
Only 4 pairs give integer solutions.
For (a,b)=(3,9):
m=318−3=5, n=36−9=−1
2m−3n=10+3=13
For (a,b)=(9,3):
m=36−9=−1, n=318−3=5
2m−3n=−2−15=−17
For (a,b)=(−3,−9):
m=3−18+3=−5, n=3−6+9=1
2m−3n=−10−3=−13
For (a,b)=(−9,−3):
m=3−6+9=1, n=3−18+3=−5
2m−3n=2+15=17
The possible values of 2m−3n are: −17, −13, 13, 17
The maximum possible value of 2m−3n=17