Tìm abcd biết:
a) abcd + a + b + c + d = 1159
1001 . a + 101 . b + 11 . c + 2 . d = 1159
=> a = 1 va b = 1 ( a ko the bang 0 va be hon 2 ; neu b = 0 thi 11.c + 2 . d < 158 va phai be hon 2 )
1001 + 101 + 11.c + 2.d = 11159
11.c + 2.d = 1159 - ( 1001 + 101 )
11.c + 2.d = 57
Ta thay 57 la so le ; 2.d la so chan nen 11.c phai la so le hay c phai le va \(\le\)5
Neu c = 3 thi 11.3 + 2.d < 57 ( 33 + 18 = 51 )
Neu c = 5 thi 55 + 2.d = 57 => d = 1
=> a = 1 ; b = 1 ; c = 5 ; d =1
Vay abcd la 1151
b, Tuong tu