7 ⋮ (2x - 1)
⇒ 2x - 1 ∈ Ư(7) = {-7; -1; 1; 7}
⇒ 2x ∈ {-6; 0; 2; 8}
⇒ x ∈ {-3; 0; 1; 4}
\(7⋮2x-1\)
\(\Rightarrow\left(2x-1\right)\inƯ\left(7\right)=\left\{\pm1;\pm7\right\}\)
\(+2x-1=1\)
\(\Rightarrow x=1\)
\(+2x-1=-1\)
\(\Rightarrow x=0\)
\(+2x-1=7\)
\(\Rightarrow x=4\)
\(+2x-1=-7\)
\(\Rightarrow x=-3\)
Vậy \(x\in\left\{1;0;4;-3\right\}\)