A004569 Expansion of sqrt(7) in base 2.
1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 0, 1, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1
Offset: 2
Links
- G. C. Greubel, Table of n, a(n) for n = 2..10000 (terms 2..1000 from Ivan Panchenko)
- Jason Kimberley, Index of expansions of sqrt(d) in base b
Crossrefs
Cf. A010465.
Programs
-
Magma
d:= 7; m:=2; Prune(Reverse(IntegerToSequence(Isqrt(d*m^100), m))); // G. C. Greubel, Mar 26 2018
-
Maple
convert(evalf(sqrt(7),100),binary,100); # Wesley Ivan Hurt, Jan 28 2017
-
Mathematica
RealDigits[Sqrt[7],2,120][[1]] (* Harvey P. Dale, Jan 18 2012 *)