login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo

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 59th year, we have over 358,000 sequences, and we’ve crossed 10,300 citations (which often say “discovered thanks to the OEIS”).

Other ways to Give
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A004548 Expansion of sqrt(3) in base 3. 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 (list; constant; graph; refs; listen; history; text; internal format)
OFFSET

1,2

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

FORMULA

a(n) = -3*floor(3^(-(3/2) + n)) + floor(3^(-(1/2) + n)) for n > 0 and n in Z. - Mariusz Iwaniuk, Apr 26 2017

MATHEMATICA

RealDigits[Sqrt[3], 3, 100][[1]] (* Vincenzo Librandi, Apr 29 2017 *)

PROG

(Magma) Prune(Reverse(IntegerToSequence(Isqrt(3*3^200), 3))); // Vincenzo Librandi, Apr 29 2017

CROSSREFS

Cf. A002194.

Sequence in context: A085794 A336939 A239002 * A125921 A321457 A029299

Adjacent sequences: A004545 A004546 A004547 * A004549 A004550 A004551

KEYWORD

nonn,base,cons

AUTHOR

N. J. A. Sloane

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 4 04:59 EST 2022. Contains 358544 sequences. (Running on oeis4.)