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!)
A037512 Base 3 digits are, in order, the first n terms of the periodic sequence with initial period 2,0,1. 1

%I #15 Jun 30 2022 11:55:37

%S 2,6,19,59,177,532,1598,4794,14383,43151,129453,388360,1165082,

%T 3495246,10485739,31457219,94371657,283114972,849344918,2548034754,

%U 7644104263,22932312791,68796938373,206390815120,619172445362

%N Base 3 digits are, in order, the first n terms of the periodic sequence with initial period 2,0,1.

%H <a href="/index/Rec#order_04">Index entries for linear recurrences with constant coefficients</a>, signature (3,0,1,-3).

%F G.f.: x*(2+x^2) / ( (x-1)*(3*x-1)*(1+x+x^2) ). - _R. J. Mathar_, Nov 21 2011

%t Table[FromDigits[PadRight[{},n,{2,0,1}],3],{n,30}] (* or *) LinearRecurrence[{3,0,1,-3},{2,6,19,59},30] (* _Harvey P. Dale_, Jun 30 2022 *)

%K nonn,base

%O 1,1

%A _Clark Kimberling_

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 24 19:06 EDT 2024. Contains 371962 sequences. (Running on oeis4.)