login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A004570
Expansion of sqrt(7) in base 3.
1
2, 1, 2, 2, 1, 0, 2, 2, 0, 2, 0, 2, 2, 2, 0, 1, 1, 1, 1, 2, 0, 1, 0, 0, 0, 2, 2, 2, 0, 1, 2, 1, 0, 1, 2, 0, 1, 2, 1, 2, 2, 0, 0, 0, 0, 0, 0, 2, 0, 1, 1, 1, 2, 1, 1, 0, 1, 0, 1, 2, 0, 2, 2, 1, 2, 2, 0, 2, 0, 0, 0, 2, 0, 1, 1, 1, 0, 0, 2, 1, 2, 1, 1, 1, 1, 1, 1, 2, 1, 0, 1, 2, 2, 2, 2, 1, 2, 2, 1
OFFSET
1,1
MATHEMATICA
RealDigits[Sqrt[7], 3, 120][[1]] (* Harvey P. Dale, May 02 2012 *)
PROG
(Magma) d:= 7; m:=3; Prune(Reverse(IntegerToSequence(Isqrt(d*m^100), m))); // G. C. Greubel, Mar 25 2018
CROSSREFS
Cf. A010465.
Sequence in context: A127251 A063251 A060208 * A178064 A145363 A071429
KEYWORD
nonn,base,cons
STATUS
approved