OFFSET
1,1
LINKS
FORMULA
a(n) = 4*a(n-1)-5*a(n-2)+2*a(n-3). G.f.: x*(5-10*x+2*x^2)/((1-x)^2*(1-2*x)). [Colin Barker, Sep 05 2012]
MAPLE
seq(2^n + 3*n, n=1..40);
MATHEMATICA
Table[2^n+3n, {n, 40}] (* or *) LinearRecurrence[{4, -5, 2}, {5, 10, 17}, 40] (* Harvey P. Dale, Dec 12 2013 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Robert H Rosseau (rhrosseau(AT)yahoo.com), Sep 11 2003
EXTENSIONS
More terms from Ray Chandler, Sep 16 2003
STATUS
approved