👤

Calculati P=1+2+2la a 2 +.........+2la a 7

Răspuns :

1+2+4+8+16+32+64+128=255
=> P=255
Sau ...
aplicam formula
1+2+2²+...+ [tex]2^{n}=\frac{2^{n+1}-1}{2-1}[/tex]
P = [tex]\frac{2^{7+1}-1}{2-1}=\frac{256-1}{1}=255[/tex]