A004573 Expansion of sqrt(7) in base 6.
2, 3, 5, 1, 2, 5, 2, 1, 0, 1, 2, 2, 3, 2, 1, 2, 5, 0, 0, 3, 5, 0, 3, 5, 0, 5, 2, 1, 2, 5, 3, 3, 0, 4, 4, 5, 1, 1, 5, 5, 2, 3, 4, 5, 2, 1, 5, 0, 4, 4, 1, 0, 3, 0, 5, 5, 2, 5, 0, 1, 1, 2, 3, 1, 5, 4, 5, 3, 0, 1, 5, 5, 3, 5, 0, 3, 1, 2, 3, 5, 5, 1, 0, 2, 0, 3, 3, 1, 4, 0, 5, 5, 2, 2, 2, 4, 4, 2, 0
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
Crossrefs
Cf. A010465.
Programs
-
Magma
d:= 7; m:=6; Prune(Reverse(IntegerToSequence(Isqrt(d*m^100), m))); // G. C. Greubel, Mar 26 2018
-
Mathematica
RealDigits[Sqrt[7], 6, 100][[1]] (* G. C. Greubel, Mar 26 2018 *)
Extensions
Updated by Alois P. Heinz at the suggestion of Kevin Ryde, Feb 19 2012