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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A037552 Base 3 digits are, in order, the first n terms of the periodic sequence with initial period 2,1,1. 0
2, 7, 22, 68, 205, 616, 1850, 5551, 16654, 49964, 149893, 449680, 1349042, 4047127, 12141382, 36424148, 109272445, 327817336, 983452010, 2950356031, 8851068094, 26553204284, 79659612853, 238978838560, 716936515682 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..25.

Index entries for linear recurrences with constant coefficients, signature (3,0,1,-3)

FORMULA

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

MATHEMATICA

With[{nn=30}, Table[FromDigits[PadRight[{}, n, {2, 1, 1}], 3], {n, nn}]] (* or *) LinearRecurrence[{3, 0, 1, -3}, {2, 7, 22, 68}, 30] (* Harvey P. Dale, Sep 06 2016 *)

CROSSREFS

Sequence in context: A290917 A060816 A171847 * A308113 A291012 A294005

Adjacent sequences:  A037549 A037550 A037551 * A037553 A037554 A037555

KEYWORD

nonn,base

AUTHOR

Clark Kimberling

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 September 15 12:22 EDT 2019. Contains 327078 sequences. (Running on oeis4.)