OFFSET
0,4
COMMENTS
Tends to 4^n. "Braided" because the order of b(n), c(n) and d(n) changes between the six possibilities as n increases.
LINKS
Andrew Howroyd, Table of n, a(n) for n = 0..500
Index entries for linear recurrences with constant coefficients, signature (9,-33,52).
FORMULA
From Colin Barker, Sep 02 2016: (Start)
a(n) = 9*a(n-1) - 33*a(n-2) + 52*a(n-3) for n > 2.
G.f.: (1 - 8*x + 25*x^2) / ((1 - 4*x)*(1 - 5*x + 13*x^2)). (End)
EXAMPLE
a(1) = 3*1 + 2*0 - 1*3 = 1.
PROG
(PARI) a(n) = {[0, 1, 0]*[3, -1, 2; 2, 3, -1; -1, 2, 3]^n*[0, 1, 2]~} \\ Andrew Howroyd, Dec 29 2024
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Henry Bottomley, Nov 14 2001
EXTENSIONS
a(23) onwards from Andrew Howroyd, Dec 29 2024
STATUS
approved