Re: Reformulating and equation



In article <PKOOf.18223$J02.14017@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
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
n = log_2(N+1)
n = ln(N+1)/ln(2)


--
======================================================================
"It's not denial. I'm just very selective about
what I accept as reality."
--- Calvin ("Calvin and Hobbes")
======================================================================

Arturo Magidin
magidin@xxxxxxxxxxxxxxxxx

.