Đáp án:
`x in {0,2,4,6}`
Giải thích các bước giải:
`ĐK:x in Z`
`2x^2+x-18 vdots x-3`
`->2x^2-6x+7x-21+3 vdots x-3`
`->2x(x-3)+7(x-3)+3 vdots x-3`
`->(x-3)(2x+7)+3 vdots x-3`
`->3 vdots x-3` vì `(x-3)(2x+7) vdots x-3`
`->x-3 in Ư(3)`
mà `Ư(3)={+1,+3}`
`+)x-3=-1->x=2(TM)`
`+)x-3=1->x=4(TM)`
`+)x-3=-3->x=0(TM)`
`+)x-3=3->x=6(TM)`
vậy với `x in {0,2,4,6}` thì `2x^2+x-18 vdots x-3`