a: \(\dfrac{A}{B}=\dfrac{a^6-6a^5+10a^4+a^3+98a-26}{a^2-a+1}\)
\(=\dfrac{a^6-a^5+a^4-5a^5+5a^4-5a^3+4a^4-4a^3+4a^2+10a^3-10a^2+10a+6a^2-6a+6+94a-32}{a^2-a+1}\)
\(=a^4-5a^3+4a^2+10a+6+\dfrac{94a-32}{a^2-a+1}\)
b: Khi a=1 thì Q ko chia hết cho 6 nha bạn