OFFSET
1,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (3,0,1,-3).
FORMULA
G.f.: 1/((1-3*x)*(1-x^3)). - Paul Barry, May 02 2003
MATHEMATICA
CoefficientList[Series[1/((1-3x)(1-x^3)), {x, 0, 1001}], x] (* Vincenzo Librandi, Apr 04 2012 *)
PROG
(PARI) x='x+O('x^50); Vec(1/((1-3*x)*(1-x^3))) \\ G. C. Greubel, Sep 26 2017
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
STATUS
approved