Re: Reformulating and equation



On Mon, 06 Mar 2006 04:18:55 GMT, "John"
<y_tu_momma_tambien@xxxxxxxxxxx> wrote:

I'm having a brain fart. How would I rewrite N=2^n-1 to figure for n, when N
is given? TIA.


2^n = N + 1

log(2^n) = n log(2) = log(N + 1)

n = log(N + 1) / log(2)

.


Quantcast