OFFSET
0,1
LINKS
Index entries for linear recurrences with constant coefficients, signature (1, 1, -1).
FORMULA
G.f.: (4 + 9*x + 3*x^2)/((1 + x)*(1 - x)^2). - Philippe Deléham, Nov 29 2016
MATHEMATICA
LinearRecurrence[{1, 1, -1}, {4, 13, 20}, 60] (* Vincenzo Librandi, Nov 29 2016 *)
PROG
(Magma) [8*n+4+n mod 2: n in [0..60]]; // Vincenzo Librandi, Nov 29 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Feb 20 2010
STATUS
approved