Log2: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
m Moving from Category:Term to Category:Terms using Cat-a-lot
ArrowHead294 (talk | contribs)
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
The symbols '''log2''', '''lb''' or '''ld''' are used for the '''[http://en.wikipedia.org/wiki/Binary_logarithm binary logarithm]''', also called '''dual logarithm''' or '''logarithm base two'''.
{{Wikipedia| Binary logarithm }}
The symbols '''log2''', '''lb''', or '''ld''' are used for the '''binary logarithm''', also called '''dual logarithm''' or '''logarithm base two'''.{{clear}}


== Log2 of the first primes ==
== Log2 of the first primes ==
 
{| class="wikitable center-all"
{| class="wikitable"
|-
! [[prime]]
! [[Prime]]
! log2 prime
! Log2 prime
|-
|-
| 2
| 2
| 1
| 1.000000000
|-
|-
| 3
| 3
Line 38: Line 39:
|}
|}


You can calculate the binary logarithm of n like this:
You can calculate the binary logarithm of ''n'' using the identity:  


log2(n) = ln(n)/ln(2)
$$ \log_2(n) = \ln(n) / \ln(2) $$


[[Category:Howto]]
[[Category:Math]]
[[Category:Math]]
[[Category:Practical help]]
[[Category:Elementary math]]
[[Category:Terms]]
[[Category:Terms]]
[[Category:Todo:improve synopsis]]
 
{{Todo| improve synopsis }}

Latest revision as of 13:09, 4 September 2025

English Wikipedia has an article on:

The symbols log2, lb, or ld are used for the binary logarithm, also called dual logarithm or logarithm base two.

Log2 of the first primes

Prime Log2 prime
2 1.000000000
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 using the identity:

$$ \log_2(n) = \ln(n) / \ln(2) $$