A004547 Expansion of sqrt(3) in base 2.
1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 0, 1
Offset: 1
Links
- G. C. Greubel, Table of n, a(n) for n = 1..10000 (terms 1..1000 from Ivan Panchenko)
- Jason Kimberley, Index of expansions of sqrt(d) in base b
Programs
-
Magma
d:= 3; m:=2; Prune(Reverse(IntegerToSequence(Isqrt(d*m^100), m))); // G. C. Greubel, Mar 31 2018
-
Mathematica
N[Sqrt[3], 200]; RealDigits[%, 2] RealDigits[Sqrt[3],2,120][[1]] (* Harvey P. Dale, Apr 22 2013 *)