OFFSET
0,1
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.: (2 - 10*x + 17*x^2) / ((1 - 4*x)*(1 - 5*x + 13*x^2)). (End)
EXAMPLE
a(1) = 3*2 + 2*1 - 1*0 = 8.
PROG
(PARI) a(n) = {[0, 0, 1]*[3, -1, 2; 2, 3, -1; -1, 2, 3]^n*[0, 1, 2]~} \\ Andrew Howroyd, Dec 29 2024
CROSSREFS
KEYWORD
nonn,easy,changed
AUTHOR
Henry Bottomley, Nov 14 2001
EXTENSIONS
a(24) onwards from Andrew Howroyd, Dec 29 2024
STATUS
approved