OFFSET
1,1
LINKS
Index entries for linear recurrences with constant coefficients, signature (3,0,1,-3).
FORMULA
G.f.: x*(2+x+2*x^2) / ( (x-1)*(3*x-1)*(1+x+x^2) ). - R. J. Mathar, Apr 30 2015
MATHEMATICA
Table[FromDigits[PadRight[{}, n, {2, 1, 2}], 3], {n, 30}] (* Harvey P. Dale, Apr 07 2022 *)
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
STATUS
approved