OFFSET
0,3
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..3320
Index entries for linear recurrences with constant coefficients, signature (5,-9,7,-2).
FORMULA
a(n)=2^(n+1)-C(n+2,2)-0^n.
MATHEMATICA
Accumulate[Join[{0, 1}, LinearRecurrence[{4, -5, 2}, {1, 4, 11}, 40]]] (* Harvey P. Dale, May 16 2014 *)
Join[{0}, LinearRecurrence[{5, -9, 7, -2}, {1, 2, 6, 17}, 29]] (* Ray Chandler, Aug 03 2015 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, May 07 2007
STATUS
approved