A004552 Expansion of sqrt(3) in base 7.
1, 5, 0, 6, 0, 4, 4, 0, 2, 1, 4, 1, 0, 1, 6, 6, 4, 5, 6, 1, 4, 0, 0, 0, 1, 5, 3, 1, 5, 0, 6, 5, 3, 4, 5, 3, 2, 3, 4, 6, 6, 1, 5, 2, 0, 1, 5, 5, 4, 2, 4, 5, 5, 6, 3, 5, 2, 3, 1, 3, 6, 6, 0, 0, 2, 1, 6, 6, 2, 5, 0, 0, 3, 6, 4, 3, 5, 6, 1, 2, 5, 1, 3, 6, 6, 0, 3, 3, 5, 5, 4, 1, 1, 6, 2, 2, 3, 6, 6, 3, 3, 1, 5, 1, 2, 5, 5, 4, 3, 5, 4, 1, 0, 0, 5, 6, 2, 0, 6, 3
Offset: 1
Links
- G. C. Greubel, Table of n, a(n) for n = 1..10000
- Jason Kimberley, Index of expansions of sqrt(d) in base b
Programs
-
Magma
d:= 3; m:=7; Prune(Reverse(IntegerToSequence(Isqrt(d*m^100), m))); // G. C. Greubel, Mar 31 2018
-
Mathematica
RealDigits[Sqrt[3],7,120][[1]] (* Harvey P. Dale, Apr 29 2011 *)
Extensions
Corrected and extended by Harvey P. Dale, Apr 29 2011