login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

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

%I #21 Dec 14 2023 05:36:49

%S 1,10,102,1023,10231,102310,1023102,10231023,102310231,1023102310,

%T 10231023102,102310231023,1023102310231,10231023102310,

%U 102310231023102,1023102310231023

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

%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-x+3*x^2) / ( (x-1)*(10*x-1)*(x^2+1) ). - _R. J. Mathar_, Aug 12 2013

%t Table[FromDigits[PadRight[{},n,{1,0,2,3}]],{n,20}] (* _Harvey P. Dale_, Sep 26 2021 *)

%o (PARI) Vec(x*(1-x+3*x^2)/((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_