A068426 Expansion of log(2) in base 2.
1, 0, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 0, 0, 1, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1
Offset: 0
Examples
0.10110001... = 1/2 + 1/8 + 1/16 + 1/256 + ...
Links
- G. C. Greubel, Table of n, a(n) for n = 0..10000
Crossrefs
Cf. A002162.
Programs
-
Mathematica
RealDigits[Log[2], 2, 100][[1]] (* G. C. Greubel, Mar 23 2018 *)
-
PARI
binary(log(2))[2] \\ Michel Marcus, Dec 14 2017
Extensions
Offset corrected by R. J. Mathar, Feb 05 2009