login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Decimal expansion of a(n) is given by the first n terms of the periodic sequence with initial period 3,2,0,1.
0

%I #20 Dec 14 2023 05:28:30

%S 3,32,320,3201,32013,320132,3201320,32013201,320132013,3201320132,

%T 32013201320,320132013201,3201320132013,32013201320132,

%U 320132013201320,3201320132013201

%N Decimal expansion of a(n) is given by the first n terms of the periodic sequence with initial period 3,2,0,1.

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

%F G.f.: x*(3-x+x^2) / ( (x-1)*(10*x-1)*(x^2+1) ). - _R. J. Mathar_, Aug 04 2013

%t Table[FromDigits[PadRight[{},n,{3,2,0,1}]],{n,20}] (* or *) LinearRecurrence[ {11,-11,11,-10},{3,32,320,3201},20] (* _Harvey P. Dale_, Jan 18 2014 *)

%K nonn,base,easy

%O 1,1

%A _Clark Kimberling_