OFFSET
1,2
FORMULA
Conjectures from Colin Barker, Nov 04 2016: (Start)
G.f.: x^2*(3-2*x) / ((1-x)^3*(1-2*x)).
a(n) = 5*a(n-1)-9*a(n-2)+7*a(n-3)-2*a(n-4) for n>4.
a(n) = (8*(2^n-1)-n*(n+7))/2. (End)
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Oct 25 2016
STATUS
approved