Lời giải:
Đặt $A=x^{2011}+x^{2010}+....+x+1$
$Ax=x^{2012}+x^{2011}+...+x^2+x$
$\Rightarrow Ax-A=x^{2012}-1$
$\Rightarrow A=\frac{x^{2012}-1}{x-1}$
$B=x^{502}+x^{501}+...+x+1$
$Bx=x^{503}+x^{502}+....+x^2+x$
$\Rightarrow Bx-B=x^{503}-1$
$\Rightarrow B=\frac{x^{503}-1}{x-1}$
Khi đó: $A:B = \frac{x^{2012}-1}{x-1}: \frac{x^{503}-1}{x-1}=\frac{x^{2012}-1}{x^{503}-1}=\frac{(x^{503})^4-1}{x^{503}-1}$
Đặt $x^{503}=a$ thì:
$A:B=\frac{a^4-1}{a-1}=a^3+a^2+a+1$
$\Rightarrow A\vdots B$