m, n >=1
5*m < 42
m < 42/5 = 8.4
значит 1 <= m <= 8
n = 42 - 5m
m = 1 n= 42-5=37
m = 2 n= 42-10=32
m = 3 n= 42-15=27
m = 4 n= 42-20=22
m = 5 n= 42-25=17
m = 6 n= 42-30=12
m = 7 n= 42-35=7
m = 8 n= 42-40=2
ответ m = {1,2,3,4,5,6,7,8}
m, n >=1
5*m < 42
m < 42/5 = 8.4
значит 1 <= m <= 8
n = 42 - 5m
m = 1 n= 42-5=37
m = 2 n= 42-10=32
m = 3 n= 42-15=27
m = 4 n= 42-20=22
m = 5 n= 42-25=17
m = 6 n= 42-30=12
m = 7 n= 42-35=7
m = 8 n= 42-40=2
ответ m = {1,2,3,4,5,6,7,8}