OFFSET
1,1
LINKS
Index entries for linear recurrences with constant coefficients, signature (9,0,1,-9).
FORMULA
G.f.: x*(2+x+2*x^2) / ( (x-1)*(9*x-1)*(1+x+x^2) ). - R. J. Mathar, Apr 26 2015
MATHEMATICA
Table[FromDigits[PadRight[{}, n, {2, 1, 2}], 9], {n, 20}] (* or *) LinearRecurrence[ {9, 0, 1, -9}, {2, 19, 173, 1559}, 20] (* Harvey P. Dale, Jul 20 2020 *)
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
STATUS
approved