Solution:
Let m≥n. Then 4m−4n=255.
Let k=m−n≥0, so 4m=4n⋅4k, and the equation becomes:
4n(4k−1)=255
Factor 255=3×5×17.
Since 4n is a power of 4, i.e., 1,4,16,64,…, it must divide 255.
Let us check possible values for 4n:
- If n=0, 4n=1:
4k−1=255⟹4k=256⟹k=4
So n=0, k=4, m=n+k=4.
Thus, (m,n)=(4,0).
- If n=1, 4n=4:
4(4k−1)=255⟹4k−1=63.75
Not integer.
- If n=2, 4n=16:
16(4k−1)=255⟹4k−1=15.9375
Not integer.
- If n=3, 4n=64:
64(4k−1)=255⟹4k−1=3.984375
Not integer.
- If n<0, 4n is a positive rational number greater than 1 (for n<0), but 4n(4k−1) would not be integer unless 4k=1, i.e., k=0.
If k=0, m=n, so 4m−4n=0, not 255.
If n>0, 4n is 4,16,64,…, none of which divide 255.
If n<0, 4n is 1/4,1/16,1/64,…
Try n=−1, 4n=1/4:
41(4k−1)=255⟹4k−1=1020⟹4k=1021
4k is a power of 4, but 1021 is not a power of 4.
Try n=−2, 4n=1/16:
161(4k−1)=255⟹4k−1=4080⟹4k=4081
Again, 4081 is not a power of 4.
Thus, the only solution is (m,n)=(4,0).
If m<n, then 4m−4n=−(4n−4m)=255, so 4n−4m=−255.
So, 4n−4m=−255⟹4n−4m=−255⟹4n=4m−255
But 4n<4m, so n<m. But this is the same as the previous case with m and n swapped and negative 255.
Alternatively, 4m−4n=255 can be negative only if m<n, but 4m−4n is negative, so 255 cannot be negative.
Therefore, the only integer solution is (m,n)=(4,0).
Thus, the answer is:
All ordered pairs (m,n)=(4,0).