login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A037078 In ternary expansion of n, reading from right to left, digits occur in order ...,0,1,2,0,1,2,... 3
0, 1, 2, 3, 7, 11, 21, 34, 65, 102, 196, 308, 588, 925, 1766, 2775, 5299, 8327, 15897, 24982, 47693, 74946, 143080, 224840, 429240, 674521, 1287722, 2023563, 3863167, 6070691, 11589501, 18212074, 34768505, 54636222, 104305516, 163908668 (list; graph; refs; listen; history; internal format)
OFFSET

0,3

LINKS

Index to sequences with linear recurrences with constant coefficients, signature (0,3,1,0,-3)

FORMULA

G.f. x*(1+2*x) / ( (x-1)*(1+x+x^2)*(3*x^2-1) ). - R. J. Mathar, Mar 22 2011

EXAMPLE

34 = 1021 (base 3) passes the test.

CROSSREFS

Cf. A037079-A037081.

Sequence in context: A014529 A095015 A024367 * A034431 A095766 A126755

Adjacent sequences:  A037075 A037076 A037077 * A037079 A037080 A037081

KEYWORD

nonn,base,easy

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com).

EXTENSIONS

More terms from Erich Friedman (erich.friedman(AT)stetson.edu)

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 23:57 EST 2012. Contains 206085 sequences.