OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (8,-20,16).
FORMULA
a(n) = [x^n] (-10*x^2 + 6*x - 1)/((2*x - 1)^2*(4*x - 1)).
a(n) = ((24 - 8*n)*a(n - 2) + (6*n - 22)*a(n - 1)) / (n - 4) for n >= 5.
MAPLE
A376585 := n -> 2^(2*n - 1) - 2^(n - 1)*(n - 1):
MATHEMATICA
LinearRecurrence[{8, -20, 16}, {1, 2, 6}, 27] (* Hugo Pfoertner, Sep 29 2024 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Peter Luschny, Sep 29 2024
STATUS
approved