This site is supported by donations to The OEIS Foundation.

Thanks to everyone who made a donation during our annual appeal!
To see the list of donors, or make a donation, see the OEIS Foundation home page.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A004585 Expansion of sqrt(10) in base 2. 2

%I

%S 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 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 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 Expansion of sqrt(10) in base 2.

%H G. C. Greubel, <a href="/A004585/b004585.txt">Table of n, a(n) for n = 2..10000</a>

%H Jason Kimberley, <a href="/wiki/User:Jason_Kimberley/sqrt_base">Index of expansions of sqrt(d) in base b</a>

%t RealDigits[Sqrt[10], 2, 100][[1]] (* _G. C. Greubel_, Mar 25 2018 *)

%o (MAGMA) d:= 10; m:=2; Prune(Reverse(IntegerToSequence(Isqrt(d*m^100), m))); // _G. C. Greubel_, Mar 25 2018

%o (PARI) my(b = binary(sqrt(10))); concat(b[1], b[2]) \\ _Michel Marcus_, Mar 26 2018

%Y Cf. A010467.

%K nonn,base,cons

%O 2,1

%A _N. J. A. Sloane_

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified January 18 04:47 EST 2019. Contains 319269 sequences. (Running on oeis4.)