\(1,A⋮B\Leftrightarrow x^3-3x^2-ax+3=\left(x-1\right)\cdot a\left(x\right)\)
Thay \(x=1\)
\(\Leftrightarrow1-3-a+3=0\\ \Leftrightarrow a=1\)
\(2,A⋮B\Leftrightarrow3x^3-16x^2+25x+a=\left(x^2-4x+3\right)\cdot b\left(x\right)\\ \Leftrightarrow3x^3-16x^2+25x+a=\left(x-3\right)\left(x-1\right)\cdot b\left(x\right)\)
Thay \(x=1\)
\(\Leftrightarrow3-16+25+a=0\\ \Leftrightarrow a=-12\)
Thay \(x=3\)
\(\Leftrightarrow3\cdot27-16\cdot9+25\cdot3+a=0\\ \Leftrightarrow81-144+75+a=0\\ \Leftrightarrow12+a=0\Leftrightarrow a=-12\)
Vậy \(a=-12\)