Binary logarithm: Difference between revisions

Wikispaces>FREEZE
No edit summary
Xenwolf (talk | contribs)
simplified, added/bolded redirect lemma(s)
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''.
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'''.


==Log2 of the first [[prime_numbers|primes]]==
== Log2 of the first primes ==


{| class="wikitable"
{| class="wikitable"
! [[prime]]
! log2 prime
|-
|-
! | prime
| 2
! | log2 prime
| 1
|-
|-
| | 2
| 3
| | 1
| 1.584962501
|-
|-
| | 3
| 5
| | 1.584962501
| 2.321928095
|-
|-
| | 5
| 7
| | 2.321928095
| 2.807354922
|-
|-
| | 7
| 11
| | 2.807354922
| 3.459431619
|-
|-
| | 11
| 13
| | 3.459431619
| 3.700439718
|-
|-
| | 13
| 17
| | 3.700439718
| 4.087462841
|-
|-
| | 17
| 19
| | 4.087462841
| 4.247927513
|-
|-
| | 19
| 23
| | 4.247927513
| 4.523561956
|-
|-
| | 23
| 29
| | 4.523561956
| 4.857980995
|-
| | 29
| | 4.857980995
|}
|}


You can calculate the binary logarithm of n like this
You can calculate the binary logarithm of n like this:
 
log2(n) = ln(n)/ln(2)
 
[[Category:Howto]]
[[Category:Math]]
[[Category:Practical help]]
[[Category:Term]]


log2(n) = ln(n)/ln(2)
[[Category:Todo:improve synopsis]]
[[Category:howto]]
[[Category:math]]
[[Category:practical_help]]
[[Category:term]]