Skip to main content
Solve for n
Tick mark Image

Similar Problems from Web Search

Share

1022=\frac{2\left(2^{n}-1\right)}{1}
Subtract 1 from 2 to get 1.
1022=2\left(2^{n}-1\right)
Anything divided by one gives itself.
1022=2\times 2^{n}-2
Use the distributive property to multiply 2 by 2^{n}-1.
2\times 2^{n}-2=1022
Swap sides so that all variable terms are on the left hand side.
2\times 2^{n}=1024
Add 2 to both sides of the equation.
2^{n}=512
Divide both sides by 2.
\log(2^{n})=\log(512)
Take the logarithm of both sides of the equation.
n\log(2)=\log(512)
The logarithm of a number raised to a power is the power times the logarithm of the number.
n=\frac{\log(512)}{\log(2)}
Divide both sides by \log(2).
n=\log_{2}\left(512\right)
By the change-of-base formula \frac{\log(a)}{\log(b)}=\log_{b}\left(a\right).