OFFSET
0,4
COMMENTS
Also called: D3 X C3. Gap identifier 18, 3.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (3,3,-8,-12,24,9,9,-27).
FORMULA
G.f.: (3*x^8-3*x^6-16*x^5+6*x^4+7*x^3-2*x^2-3*x+1) / ((x-1) * (3*x-1) * (x^2+x+1) * (3*x^2+3*x+1) * (3*x^2-3*x+1)).
MATHEMATICA
CoefficientList[Series[(3*x^8-3*x^6-16*x^5+6*x^4+7*x^3-2*x^2-3*x+1)/((x-1)*(3*x-1)*(x^2+x+1)*(3*x^2+3*x+1)*(3*x^2-3*x+1)), {x, 0, 30}], x] (* Vincenzo Librandi, Oct 09 2025 *)
PROG
(Magma) m:=30; R<x>:=PowerSeriesRing(Integers(), m); Coefficients(R!( (3*x^8-3*x^6-16*x^5+6*x^4+7*x^3-2*x^2-3*x+1) / ((x-1) * (3*x-1) * (x^2+x+1) * (3*x^2+3*x+1) * (3*x^2-3*x+1)))); // Vincenzo Librandi, Oct 09 2025
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Sean A. Irvine, Nov 16 2024
STATUS
approved
