login
This site is supported by donations to The OEIS Foundation.

 

Logo

Annual Appeal: Please make a donation to keep the OEIS running. In 2018 we replaced the server with a faster one, added 20000 new sequences, and reached 7000 citations (often saying "discovered thanks to the OEIS").
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A004585 Expansion of sqrt(10) in base 2. 1
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 (list; constant; graph; refs; listen; history; text; internal format)
OFFSET

2,1

LINKS

G. C. Greubel, Table of n, a(n) for n = 2..10000

Jason Kimberley, Index of expansions of sqrt(d) in base b

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: A004601 A114915 A074711 * A156277 A319448 A177444

Adjacent sequences:  A004582 A004583 A004584 * A004586 A004587 A004588

KEYWORD

nonn,base,cons

AUTHOR

N. J. A. Sloane

STATUS

approved

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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 16 09:34 EST 2018. Contains 318160 sequences. (Running on oeis4.)