[go: up one dir, main page]

login
A004540
Expansion of sqrt(2) in base 3.
3
1, 1, 0, 2, 0, 1, 1, 2, 2, 1, 2, 2, 2, 0, 0, 1, 2, 1, 2, 2, 1, 2, 2, 2, 0, 0, 1, 1, 2, 1, 0, 0, 0, 1, 0, 2, 0, 0, 0, 2, 2, 0, 1, 2, 1, 1, 1, 2, 0, 2, 0, 2, 2, 0, 1, 2, 0, 2, 1, 1, 0, 2, 2, 1, 0, 1, 0, 0, 0, 2, 2, 1, 1, 2, 1, 0, 1, 1, 2, 2, 1, 0, 2, 0, 2, 1, 2, 1, 0, 0, 2, 0, 2, 0, 0, 2, 1, 2, 0
OFFSET
1,4
MATHEMATICA
RealDigits[Sqrt[2], 3, 120][[1]] (* Harvey P. Dale, Sep 20 2016 *)
PROG
(Magma) Prune(Reverse(IntegerToSequence(Isqrt(2*3^200), 3))); // Vincenzo Librandi, Jan 07 2018
CROSSREFS
KEYWORD
nonn,base,cons
STATUS
approved