$1+2+4+8+...+x=4095$
Ta thấy $1+2+4+8+...+x$ là tổng $x$ số hạng đầu của CSN $u_1=1; q=2; u_n=x$
$\Rightarrow \dfrac{1(1-2^n)}{1-2}=4095$
$\Leftrightarrow 1-2^n=-4095$
$\Leftrightarrow 2^n=4096=2^{12}$
$\Leftrightarrow n=12$
$\to x=u_{12}=u_1.q^{11}=2^{11}$