A004559 Expansion of sqrt(5) in base 6.
2, 1, 2, 2, 5, 5, 3, 5, 5, 3, 1, 5, 1, 3, 0, 3, 3, 4, 3, 1, 2, 4, 5, 1, 4, 3, 2, 0, 3, 4, 0, 2, 4, 0, 1, 3, 4, 5, 4, 0, 2, 5, 2, 1, 3, 2, 2, 3, 2, 0, 3, 3, 2, 5, 0, 2, 1, 5, 4, 4, 1, 1, 0, 1, 3, 2, 1, 5, 5, 0, 1, 0, 0, 0, 4, 5, 3, 1, 4, 1, 1, 2, 5, 1, 4, 2, 5, 0, 0, 0, 0, 1, 1, 3, 4, 5, 1, 3, 5
Offset: 1
Links
- Vincenzo Librandi, Table of n, a(n) for n = 1..5000
- Jason Kimberley, Index of expansions of sqrt(d) in base b
Programs
-
Magma
Prune(Reverse(IntegerToSequence(Isqrt(5*6^200), 6))); // Vincenzo Librandi, Jan 08 2018
-
Mathematica
RealDigits[Sqrt[5],6,120][[1]] (* Harvey P. Dale, Mar 24 2012 *)
Extensions
Updated by Alois P. Heinz at the suggestion of Kevin Ryde, Feb 19 2012