login
A004556
Expansion of sqrt(5) in base 3.
2
2, 0, 2, 0, 1, 0, 1, 0, 0, 2, 1, 1, 2, 0, 1, 2, 1, 1, 0, 0, 2, 1, 1, 2, 0, 0, 2, 1, 1, 0, 0, 2, 1, 1, 1, 0, 0, 2, 1, 2, 1, 2, 0, 1, 0, 1, 2, 1, 2, 2, 2, 0, 2, 2, 0, 0, 2, 1, 0, 2, 2, 0, 0, 1, 0, 1, 1, 2, 0, 0, 1, 1, 2, 0, 0, 1, 0, 1, 1, 2, 0, 0, 0, 2, 2, 1, 1, 2, 1, 0, 1, 1, 1, 1, 2, 2, 1, 2, 1
OFFSET
1,1
MATHEMATICA
RealDigits[Sqrt[5], 3, 100][[1]] (* G. C. Greubel, Mar 31 2018 *)
PROG
(Magma) d:= 5; m:=3; Prune(Reverse(IntegerToSequence(Isqrt(d*m^100), m))); // G. C. Greubel, Mar 31 2018
CROSSREFS
Sequence in context: A242041 A224937 A035193 * A263635 A373850 A358233
KEYWORD
nonn,base,cons
STATUS
approved