A004548 Expansion of sqrt(3) in base 3.
1, 2, 0, 1, 2, 0, 2, 1, 2, 2, 2, 2, 1, 2, 1, 0, 2, 2, 1, 2, 1, 1, 2, 0, 1, 0, 1, 2, 2, 2, 1, 0, 1, 2, 0, 1, 1, 0, 0, 2, 2, 2, 0, 0, 0, 1, 2, 1, 0, 0, 2, 0, 0, 0, 0, 0, 2, 2, 2, 2, 0, 2, 1, 0, 2, 1, 0, 2, 1, 1, 1, 0, 0, 2, 0, 0, 0, 0, 2, 0, 1, 0, 2, 2, 0, 2, 0, 2, 1, 2, 0, 0, 1, 2, 2, 0, 0, 2, 1
Offset: 1
Links
- G. C. Greubel, Table of n, a(n) for n = 1..10000 (terms 1..2000 from Vincenzo Librandi)
- Jason Kimberley, Index of expansions of sqrt(d) in base b
Crossrefs
Cf. A002194.
Programs
-
Magma
Prune(Reverse(IntegerToSequence(Isqrt(3*3^200), 3))); // Vincenzo Librandi, Apr 29 2017
-
Mathematica
RealDigits[Sqrt[3], 3, 100][[1]] (* Vincenzo Librandi, Apr 29 2017 *)