OFFSET
2,2
LINKS
Alois P. Heinz, Table of n, a(n) for n = 2..1000
Index entries for linear recurrences with constant coefficients, signature (8,-20,16).
FORMULA
G.f.: (4*x^3-7*x^2+5*x-1)*x^2/((4*x-1)*(2*x-1)^2).
For n>2, a(n) = 2^(2*n-5) + (n-1)*2^(n-4). - Vaclav Kotesovec, Jul 15 2021
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Alois P. Heinz, Jul 13 2021
STATUS
approved