3n+24 chia hết cho n-4
<=> 3n-12+36 chia hết cho n-4
<=> 3(n-4)+36 chia hết cho n-4
<=> 36 chia hết cho n-4
\(\Rightarrow n-4\in\)Ư(36)={-1,-2,-3,-4,-6,-9,-18,-36,1,2,3,4,6,9,18,36}
n-4 | -1 | -2 | -3 | -4 | -6 | -9 | -18 | -36 | 1 | 2 | 3 | 4 | 6 | 9 | 18 | 36 |
n | 3 | 2 | 1 | 0 | -2 | -5 | -14 | -34 | 5 | 6 | 7 | 8 | 10 | 13 | 22 | 40 |
Điều kiện :\(n\in N\) | tm | tm | tm | tm | ktm | ktm | ktm | ktm | tm | tm | tm | tm | tm | tm | tm | tm |
Vậy n\(\in\){0,1,2,3,5,6,7,8,10,13,22,40}