OFFSET
0,3
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
Curtis Coker, Enumerating a class of lattice paths, Discrete Math., Vol. 271, Iss. 1-3 (2003), pp. 13-28.
Index entries for linear recurrences with constant coefficients, signature (6,-12,8).
FORMULA
For n>1, a(n) = (n^2 + 9*n - 2)*2^(n-4). - Ralf Stephan, May 10 2004
From Elmo R. Oliveira, Mar 18 2026: (Start)
G.f.: x^2*(5 - 13*x + 8*x^2)/(1 - 2*x)^3.
E.g.f.: (exp(2*x)*(2*x^2 + 10*x - 1) + 1 - 8*x)/8.
a(n) = 6*a(n-1) - 12*a(n-2) + 8*a(n-3) for n > 4. (End)
MATHEMATICA
LinearRecurrence[{6, -12, 8}, {0, 0, 5, 17, 50}, 30] (* Harvey P. Dale, Jun 13 2016 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Sep 16 2003
EXTENSIONS
More terms from Ray Chandler, Sep 17 2003
STATUS
approved
