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