%I #20 Dec 14 2023 05:33:47
%S 1,13,132,1320,13201,132013,1320132,13201320,132013201,1320132013,
%T 13201320132,132013201320,1320132013201,13201320132013,
%U 132013201320132,1320132013201320
%N Decimal expansion of a(n) is given by the first n terms of the periodic sequence with initial period 1,3,2,0.
%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*(1+2*x) / ( (x-1)*(10*x-1)*(x^2+1) ). - _R. J. Mathar_, Aug 04 2013
%F a(n) = 11*a(n-1) - 11*a(n-2) + 11*a(n-3) - 10*a(n-4). - _Wesley Ivan Hurt_, Sep 06 2022
%o (PARI) Vec(x*(1+2*x)/((x-1)*(10*x-1)*(x^2+1)) + O(x^25)) \\ _Jinyuan Wang_, Apr 14 2020
%K nonn,base,easy
%O 1,2
%A _Clark Kimberling_