OFFSET
0,2
LINKS
Andrew Howroyd, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (6,-11,6).
FORMULA
Binomial transform of A134351 and second binomial transform of [1, 5, -1, 5, -1, 5, -1, 5, ...].
From Colin Barker, Mar 13 2014: (Start)
a(n) = 2^(n+1) + 2*3^n - 3.
a(n) = 5*a(n-1) - 5*a(n-2) - 5*a(n-3) + 6*a(n-4).
G.f.: (8*x^2-x-1) / ((x-1)*(2*x-1)*(3*x-1)). (End)
MATHEMATICA
LinearRecurrence[{6, -11, 6}, {1, 7, 23}, 40] (* Harvey P. Dale, Apr 10 2026 *)
CROSSREFS
KEYWORD
nonn,changed
AUTHOR
Gary W. Adamson, Oct 21 2007
EXTENSIONS
Offset corrected and more terms from Andrew Howroyd, Sep 14 2025
STATUS
approved
