Theo de bai: T1 + T2 = 385 va T2 > 38 => T1 < 347
Ta thấy T2 - 38 > 38 - 38 《=》T2 - 38 > 0 => T2 = {39, 40, 41, 42,..., 385}
Vay T2 - 38 = {1, 2, 3, ..., 347}
Tuong tu T1 + 62 < 347 + 62 《=》 T1 + 62 < 409 => T1 = {346, 345, 344, ..., 0}
Vay T1 + 62 = {408, 407, 406, ..., 62}
TH1: T2 - 38 = 1 (1) & T1 + 62 = 408 (2)
Cong hai ve (1) va (2) ta duoc: T1 + 62 + T2 -38 = 409. Tuong tu cho cac truong hop con lai. Vay tong moi la 409.
Cong (2) va (1) ta co: T1 + 62 + T2 - 38 = 409
TH1: