OFFSET
1,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (10,0,1,-10).
FORMULA
G.f.: x*(1+2*x) / ( (x-1)*(10*x-1)*(1+x+x^2) ). - R. J. Mathar, Aug 04 2013
MATHEMATICA
Table[FromDigits[PadRight[{}, n, {1, 2, 0}]], {n, 20}] (* or *) LinearRecurrence[{10, 0, 1, -10}, {1, 12, 120, 1201}, 20] (* Harvey P. Dale, Jan 03 2023 *)
PROG
(PARI) Vec(x*(1+2*x)/((x-1)*(10*x-1)*(1+x+x^2)) + O(x^30)) \\ Jinyuan Wang, Apr 14 2020
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved