\(A=2n:\frac{3n+1}{3}=2n.\frac{3}{3n+1}=\frac{6n}{3n+1}=\frac{6n+2-2}{3n+1}=\frac{2\left(3n+1\right)-2}{3n+1}\)
\(=\frac{2\left(3n+1\right)}{3n+1}-\frac{2}{3n+1}=2-\frac{2}{3n+1}\)
A nguyên <=> \(\frac{2}{3n+1}\) nguyên <=> 2 chia hết cho 3n+1
<=>\(3n+1\inƯ\left(2\right)=\left\{-2;-1;1;2\right\}\)
<=>\(3n\in\left\{-3;-2;0;1\right\}\)
<=>\(n\in\left\{-1;\frac{-2}{3};0;\frac{1}{3}\right\}\)
Vì n nguyên nên \(n\in\left\{-1;0\right\}\)
A=\(=\frac{2n.3}{3n+1}=\frac{2.3n+2-2}{3n+1}=2-\frac{2}{3n+1}.\)
3n+1=+-1,+-2
n=0