A004564 Expansion of sqrt(6) in base 5.
2, 2, 1, 1, 0, 4, 3, 1, 1, 4, 3, 1, 1, 3, 3, 1, 3, 4, 1, 2, 1, 4, 1, 1, 2, 1, 2, 4, 4, 3, 0, 1, 4, 1, 3, 0, 1, 0, 4, 4, 0, 3, 3, 1, 1, 1, 4, 3, 0, 0, 0, 0, 0, 3, 1, 2, 2, 0, 4, 1, 1, 2, 0, 0, 2, 3, 1, 4, 1, 0, 3, 1, 3, 3, 3, 0, 1, 2, 3, 0, 3, 1, 4, 1, 0, 0, 3, 2, 2, 0, 0, 0, 0, 3, 3, 2, 3, 2, 3
Offset: 1
Examples
In base 5: sqrt(11) = 2.21104311431133134121411...
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:= 6; m:=5; Prune(Reverse(IntegerToSequence(Isqrt(d*m^100), m))); // G. C. Greubel, Mar 26 2018
-
Mathematica
RealDigits[Sqrt[6], 5, 100][[1]] (* Alonso del Arte, Aug 27 2012 *)
Extensions
Updated by Alois P. Heinz at the suggestion of Kevin Ryde, Feb 19 2012