Binary logarithm

From Xenharmonic Wiki
Revision as of 17:21, 23 March 2012 by Wikispaces>genewardsmith (**Imported revision 314108348 - Original comment: **)
Jump to navigation Jump to search

IMPORTED REVISION FROM WIKISPACES

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

This revision was by author genewardsmith and made on 2012-03-23 17:21:44 UTC.
The original revision id was 314108348.
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 symbols **log2**, **lb** or **ld** are used for the **[[http://en.wikipedia.org/wiki/Binary_logarithm|binary logarithm]]**, also called //dual logarithm//.

==Log2 of the first [[prime numbers|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 symbols <strong>log2</strong>, <strong>lb</strong> or <strong>ld</strong> are 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 <a class="wiki_link" href="/prime%20numbers">primes</a></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>