On the linear equation of one variable (k-1) x = 4 of X The solution of K is an integer

On the linear equation of one variable (k-1) x = 4 of X The solution of K is an integer

The solution is an integer, so x has three possibilities of ± 1, ± 2, ± 4
When x = 1, k-1 = 4, k = 5
When x = - 1, k-1 = - 4, k = - 3
When x = 2, k-1 = 2, k = 3
When x = - 2, k-1 = - 2, k = - 1
When x = 4, k-1 = 1, k = 2
When x = - 4, k-1 = - 1, k = 0