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

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A037528 Base-3 digits are, in order, the first n terms of the periodic sequence with initial period 1,1,2. 0
1, 4, 14, 43, 130, 392, 1177, 3532, 10598, 31795, 95386, 286160, 858481, 2575444, 7726334, 23179003, 69537010, 208611032, 625833097, 1877499292, 5632497878, 16897493635, 50692480906, 152077442720, 456232328161 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
G.f.: x*(1+x+2*x^2) / ( (x-1)*(3*x-1)*(1+x+x^2) ). - R. J. Mathar, Apr 27 2015
A007089(a(n)) = A037535(n). - R. J. Mathar, Apr 27 2015
a(n) = 3*a(n-1)+a(n-3)-3*a(n-4). - Wesley Ivan Hurt, Apr 21 2021
MATHEMATICA
nn=30; With[{c=PadRight[{}, nn, {1, 1, 2}]}, Table[FromDigits[Take[c, n], 3], {n, nn}]] (* Harvey P. Dale, Jun 04 2012 *)
CROSSREFS
Sequence in context: A296253 A247470 A049539 * A292718 A212688 A261451
KEYWORD
nonn,base,easy
AUTHOR
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 April 19 09:23 EDT 2024. Contains 371782 sequences. (Running on oeis4.)