Patrick B. answered 03/07/21
Math and computer tutor/teacher
p = +or-{1,2,4}; q= +or- 1
p/q = p = +or- {1,2,4}
f(-1) = -1 + 1 + 4 - 4 = 0
-1 | 1 1 -4 -4
-1 0 4
_________________
1 0 -4 0
so x=-1 is a solution and then remaining polynomial is x^2-4 = (x+2)(x-2)
the complete solution set is x={-1,2,-2}; note that x=-2,2 are in the list!