login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 27 03:56 EST 2021. Contains 349345 sequences. (Running on oeis4.)