OFFSET
1,1
LINKS
Index entries for linear recurrences with constant coefficients, signature (3,0,1,-3)
FORMULA
G.f.: x*(2+x) / ( (x-1)*(3*x-1)*(1+x+x^2) ). - R. J. Mathar, Nov 21 2011
MATHEMATICA
With[{c=PadRight[{}, 27, {2, 1, 0}]}, Table[FromDigits[Take[c, n], 3], {n, 25}]] (* Harvey P. Dale, Nov 08 2011 *)
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
STATUS
approved