Binary logarithm

Revision as of 05:20, 13 June 2011 by Wikispaces>xenwolf (**Imported revision 236184758 - Original comment: **)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

IMPORTED REVISION FROM WIKISPACES

This is an imported revision from Wikispaces. The revision metadata is included below for reference:

This revision was by author xenwolf and made on 2011-06-13 05:20:31 UTC.
The original revision id was 236184758.
The revision comment was:

The revision contents are below, presented both in the original Wikispaces Wikitext format, and in HTML exactly as Wikispaces rendered it.

Original Wikitext content:

The symbol **log2** is often used for the **[[http://en.wikipedia.org/wiki/Binary_logarithm|binary logarithm]]**, also called //dual logarithm//.

== Log2 of the first primes ==
||~ prime ||~ log2 prime ||
||  2 || 1 ||
||  3 || 1.584962501 ||
||  5 || 2.321928095 ||
||  7 || 2.807354922 ||
|| 11 || 3.459431619 ||
|| 13 || 3.700439718 ||
|| 17 || 4.087462841 ||
|| 19 || 4.247927513 ||
|| 23 || 4.523561956 ||
|| 29 || 4.857980995 ||

You can calculate the binary logarithm of n like this

log2(n) = ln(n)/ln(2)

Original HTML content:

<html><head><title>log2</title></head><body>The symbol <strong>log2</strong> is often used for the <strong><a class="wiki_link_ext" href="http://en.wikipedia.org/wiki/Binary_logarithm" rel="nofollow">binary logarithm</a></strong>, also called <em>dual logarithm</em>.<br />
<br />
<!-- ws:start:WikiTextHeadingRule:0:&lt;h2&gt; --><h2 id="toc0"><a name="x-Log2 of the first primes"></a><!-- ws:end:WikiTextHeadingRule:0 --> Log2 of the first primes </h2>


<table class="wiki_table">
    <tr>
        <th>prime<br />
</th>
        <th>log2 prime<br />
</th>
    </tr>
    <tr>
        <td>2<br />
</td>
        <td>1<br />
</td>
    </tr>
    <tr>
        <td>3<br />
</td>
        <td>1.584962501<br />
</td>
    </tr>
    <tr>
        <td>5<br />
</td>
        <td>2.321928095<br />
</td>
    </tr>
    <tr>
        <td>7<br />
</td>
        <td>2.807354922<br />
</td>
    </tr>
    <tr>
        <td>11<br />
</td>
        <td>3.459431619<br />
</td>
    </tr>
    <tr>
        <td>13<br />
</td>
        <td>3.700439718<br />
</td>
    </tr>
    <tr>
        <td>17<br />
</td>
        <td>4.087462841<br />
</td>
    </tr>
    <tr>
        <td>19<br />
</td>
        <td>4.247927513<br />
</td>
    </tr>
    <tr>
        <td>23<br />
</td>
        <td>4.523561956<br />
</td>
    </tr>
    <tr>
        <td>29<br />
</td>
        <td>4.857980995<br />
</td>
    </tr>
</table>

<br />
You can calculate the binary logarithm of n like this<br />
<br />
log2(n) = ln(n)/ln(2)</body></html>