Ta có:
\(T=\frac{3x-8}{x-5}=\frac{3x-15+7}{x-5}=\frac{3.\left(x-5\right)+7}{x-5}=\frac{3.\left(x-5\right)}{x-5}+\frac{7}{x-5}=3+\frac{7}{x-5}\)
Để T nguyên thì \(\frac{7}{x-5}\) nguyên
\(\Rightarrow x-5\inƯ\left(7\right)\)
\(\Rightarrow x-5\in\left\{1;-1;7;-7\right\}\)
\(\Rightarrow x\in\left\{6;4;12;-2\right\}\)
Vậy \(x\in\left\{6;4;12;-2\right\}\) thì T nguyên