OFFSET
0,2
COMMENTS
Recurrence 1 is derived in A359884, "3d-tilings of a 2 X 2 X n box" as a special case of a more general tiling problem: III, example 13.
LINKS
Index entries for linear recurrences with constant coefficients, signature (8,51,27,-96,-43,66).
FORMULA
G.f.: (1-5*x-15*x^2-3*x^3+10*x^4) / (1-8*x-51*x^2-27*x^3+96*x^4+43*x^5-66*x^6).
Recurrence 1:
a(n) = 3*a(n-1) + b(n-1) + c(n-1) + 19*a(n-2) + 4*b(n-2) + c(n-2) + 2*d(n-2)
b(n) = 12*a(n-1) + 2*b(n-1) + 2*c(n-1) + e(n-1)
c(n) = 20*a(n-1) + 6*b(n-1) + 2*c(n-1) + 2*e(n-1)
d(n) = 4*a(n-1) + 2*b(n-1) + d(n-1)
e(n) = 24*a(n-1) + 7*b(n-1) + 2*c(n-1) + 2*d(n-1)
with a(n),b(n),c(n),d(n),e(n)= 0 for n<=0 except for a(0)=1.
Recurrence 2:
a(n) = 8*a(n-1) + 51*a(n-2) + 27*a(n-3) - 96*a(n-4) - 43*a(n-5) + 66*a(n-6) for n>=6. For n<6, recurrence 1 can be used.
MATHEMATICA
LinearRecurrence[{8, 51, 27, -96, -43, 66}, {1, 3, 60, 657, 8311, 101284}, 25] (* Paolo Xausa, Jun 01 2026 *)
PROG
(PARI) a(n)=([0, 1, 0, 0, 0, 0; 0, 0, 1, 0, 0, 0; 0, 0, 0, 1, 0, 0; 0, 0, 0, 0, 1, 0; 0, 0, 0, 0, 0, 1; 66, -43, -96, 27, 51, 8]^n*[1; 3; 60; 657; 8311; 101284])[1, 1] \\ Charles R Greathouse IV, May 31 2026
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Gerhard Kirchner, Feb 12 2023
STATUS
approved
