# Math Help - Bit problem

1. ## Bit problem

We are working on determining the number of bits required to represent different decimal numbers. I was doing fine until I hit

3^1000 Can anyone help me out???? I think I am missing something really basic but alas I know not what!!!!

2. Originally Posted by Frostking
We are working on determining the number of bits required to represent different decimal numbers. I was doing fine until I hit

3^1000 Can anyone help me out???? I think I am missing something really basic but alas I know not what!!!!
The number of bits needed to represent an integer $N$ is $\lfloor \log_2(N)\rfloor +1$ and $\log_2(3^{1000})=1000\log_2(3)=1584.96..$

RonL