login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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