a)
Để \(x^4-x^3+6x^2-x+a⋮x^2-x+5\) thì \(a-5=0\Rightarrow a=5\)
b)
Để \(3n^3+10n^2-5⋮3n+1\) thì \(3n+1⋮-4\)
\(\Rightarrow3n+1\inƯ\left(-4\right)\)
\(\Rightarrow3n+1\in\left\{-4;-2;-1;1;2;4\right\}\)
\(\Rightarrow3n\in\left\{-5;-3;-2;0;1;3\right\}\)
\(\Rightarrow n\in\left\{-\dfrac{5}{3};-1;-\dfrac{2}{3};0;\dfrac{1}{3};1\right\}\)