Ta có: \(x=7\Rightarrow8=x+1\)Thay 8=x+1 vào B ta được:
\(B=x^{15}-\left(x+1\right)x^{14}+\left(x+1\right)x^{13}-...-\left(x+1\right)x^2+\left(x+1\right)x-5\)
\(=x^{15}-x^{15}-x^{14}+x^{14}+x^{13}-...-x^3-x^2+x^2+x-5\)
\(=x-5\)Thay x=7 ta được:
\(B=7-5=2\)
Vậy \(B=2\)với x=7