ta có : \(3n^3+10n^2-5⋮3n+1\)
\(\Rightarrow3n^3+n^2+9n^2+3n-3n-1-4⋮3n+1\)
\(\Rightarrow n\left(3n+1\right)+3n\left(3n+1\right)-\left(3n+1\right)-3⋮3n+1\)
\(\Rightarrow\left(n+3n+1\right)\left(3n+1\right)-4⋮3n+1\)
mà \(\left(4n+1\right)\left(3n+1\right)⋮3n+1\)
\(\Rightarrow3n+1\inƯ\left(4\right)=\left\{\pm1;\pm2;\pm4\right\}\)
\(\Rightarrow n\in\left\{0;\pm1\right\}\)