login
A004555
Expansion of sqrt(5) in base 2.
5
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,1
LINKS
G. C. Greubel, Table of n, a(n) for n = 2..10000 (terms 2..1000 from Ivan Panchenko)
EXAMPLE
10.0011110001101110111100110111001011111110100101001111100000101011111001110...
MATHEMATICA
RealDigits[Sqrt[5], 2, 120][[1]] (* Harvey P. Dale, Apr 08 2015 *)
PROG
(Magma) d:= 5; m:=2; Prune(Reverse(IntegerToSequence(Isqrt(d*m^100), m))); // G. C. Greubel, Mar 31 2018
CROSSREFS
Sequence in context: A320106 A303561 A284680 * A372573 A200261 A288855
KEYWORD
nonn,base,cons
STATUS
approved