cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A004585 Expansion of sqrt(10) in base 2.

This page as a plain text file.
%I A004585 #14 Sep 08 2022 08:44:33
%S A004585 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,
%T A004585 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,
%U A004585 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
%N A004585 Expansion of sqrt(10) in base 2.
%H A004585 G. C. Greubel, <a href="/A004585/b004585.txt">Table of n, a(n) for n = 2..10000</a>
%H A004585 Jason Kimberley, <a href="/wiki/User:Jason_Kimberley/sqrt_base">Index of expansions of sqrt(d) in base b</a>
%t A004585 RealDigits[Sqrt[10], 2, 100][[1]] (* _G. C. Greubel_, Mar 25 2018 *)
%o A004585 (Magma) d:= 10; m:=2; Prune(Reverse(IntegerToSequence(Isqrt(d*m^100), m))); // _G. C. Greubel_, Mar 25 2018
%o A004585 (PARI) my(b = binary(sqrt(10))); concat(b[1], b[2]) \\ _Michel Marcus_, Mar 26 2018
%Y A004585 Cf. A010467.
%K A004585 nonn,base,cons
%O A004585 2,1
%A A004585 _N. J. A. Sloane_