[go: up one dir, main page]

login
A004585
Expansion of sqrt(10) in base 2.
2
1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1
OFFSET
2,1
MATHEMATICA
RealDigits[Sqrt[10], 2, 100][[1]] (* G. C. Greubel, Mar 25 2018 *)
PROG
(Magma) d:= 10; m:=2; Prune(Reverse(IntegerToSequence(Isqrt(d*m^100), m))); // G. C. Greubel, Mar 25 2018
(PARI) my(b = binary(sqrt(10))); concat(b[1], b[2]) \\ Michel Marcus, Mar 26 2018
CROSSREFS
Cf. A010467.
Sequence in context: A361022 A341754 A074711 * A319448 A365428 A156277
KEYWORD
nonn,base,cons
STATUS
approved