x=4
=>x+1=5
A=(x+1)x^5 -(x+1)x^4+(x+1)x^3-(x+1)x^2+(x+1)x-1
=x^6+x^5-x^5-x^4+x^4+x^3-x^3-x^2+x^2-x+1
=x^6-x-1
=4^6-4-1
=4091
\(a,A=5\cdot4^5-5\cdot4^4+5\cdot4^3-5\cdot4^2+5\cdot4+1\\ A=4^4\left(20-5\right)+4^2\left(20-5\right)+\left(20-5\right)\\ A=15\left(4^4+4^2+1\right)=15\cdot273=4095\)
\(b,x=7\Leftrightarrow x+1=8\\ \Leftrightarrow B=x^{2006}-\left(x+1\right)x^{2005}+\left(x+1\right)x^{2004}-...+\left(x+1\right)x^2-\left(x+1\right)x-5\\ B=x^{2006}-x^{2006}-x^{2005}+x^{2005}+x^{2004}-...+x^3+x^2-x^2-x-5\\ B=-x-5=-12\)
b)tương tự
=x^2006-x^2006-x^2005+x^2005+x^2004-...+x^3-x^2-x^2-x-5
=-x-5
=-7-5=-12